|
@@ -1007,10 +1007,8 @@ found, otherwise returns nil." |
|
|
"https://raw.github.com/mooz/js2-mode/master/js2-mode.el" |
|
|
"https://raw.github.com/mooz/js2-mode/master/js2-mode.el" |
|
|
t) |
|
|
t) |
|
|
(lazy-load-eval 'js2-mode) |
|
|
(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 |
|
|
(add-hook 'js2-mode-hook |
|
|
(lambda () |
|
|
(lambda () |
|
|
(define-key js2-mode-map (kbd "C-m") (lambda () |
|
|
(define-key js2-mode-map (kbd "C-m") (lambda () |
|
|