瀏覽代碼

add jsm extension

pull/1/head
10sr 12 年之前
父節點
當前提交
4634aa6ab4
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      emacs.el

+ 2
- 1
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


Loading…
取消
儲存