Browse Source

do not use js2-mode

pull/1/head
10sr 11 years ago
parent
commit
b3d6bf1d1e
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      emacs.el

+ 2
- 4
emacs.el View File

@@ -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 ()


Loading…
Cancel
Save