From c436c82f86ec9cade711d209df839997eb00a0cc Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 18 Feb 2019 22:17:46 -0800 Subject: [PATCH] =?UTF-8?q?Add=20magic=20comment=20to=20autoload=20?= =?UTF-8?q?=E2=80=98js2-mode=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- oni-js2-mode.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/oni-js2-mode.el b/oni-js2-mode.el index 1ad81c6..eb5b66c 100644 --- a/oni-js2-mode.el +++ b/oni-js2-mode.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 20190206003151 +;; Version: 20190218221547 ;; Package-Requires: (oni-company js2-mode js2-refactor flycheck fill-column-indicator tern company-tern fic-mode) ;; This program is free software; you can redistribute it and/or modify @@ -56,6 +56,7 @@ (add-to-list 'company-backends 'company-tern) ;;;###autoload(with-eval-after-load 'js2-mode (require 'oni-js2-mode)) +;;;###autoload(add-to-list 'auto-mode-alist '("\\.js\\'" . js2-mode)) (provide 'oni-js2-mode) ;;; oni-js2-mode.el ends here