From 4634aa6ab4eb054b6a9f614e9946b1380a4cee48 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Tue, 31 Jan 2012 18:55:13 +0900 Subject: [PATCH] add jsm extension --- emacs.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/emacs.el b/emacs.el index b5642d8..351889c 100644 --- a/emacs.el +++ b/emacs.el @@ -685,7 +685,8 @@ return nil if LIB unfound and downloading failed, otherwise the path of LIB." "https://github.com/mooz/js2-mode/raw/master/js2-mode.el" t) (autoload 'js2-mode "js2-mode" nil t) - (add-to-list 'auto-mode-alist '("\\.js$" . 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-hook 'before-save-hook