From b3d6bf1d1e1862e17265df1d06635716f8b689a8 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Wed, 11 Dec 2013 13:21:09 +0900 Subject: [PATCH] do not use js2-mode --- emacs.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/emacs.el b/emacs.el index c3e885e..6816c28 100644 --- a/emacs.el +++ b/emacs.el @@ -1007,10 +1007,8 @@ found, otherwise returns nil." "https://raw.github.com/mooz/js2-mode/master/js2-mode.el" t) (lazy-load-eval 'js2-mode) - (add-to-list 'auto-mode-alist '("\\.js\\'" . js2-mode)) - (add-to-list 'auto-mode-alist '("\\.jsm\\'" . js2-mode)) - ;; (add-hook 'js2-mode-hook - ;; (lambda () + ;; (add-to-list 'auto-mode-alist '("\\.js\\'" . js2-mode)) + ;; (add-to-list 'auto-mode-alist '("\\.jsm\\'" . js2-mode)) (add-hook 'js2-mode-hook (lambda () (define-key js2-mode-map (kbd "C-m") (lambda ()