------------------------------------------------------------ revno: 355 committer: Dmitry Gutov <dgu...@yandex.ru> branch nick: elpa timestamp: Tue 2013-02-19 19:18:21 +0400 message: js2-mode: Use \\' instead of $ modified: packages/js2-mode/js2-mode.el
=== modified file 'packages/js2-mode/js2-mode.el' --- a/packages/js2-mode/js2-mode.el 2013-02-19 02:18:50 +0000 +++ b/packages/js2-mode/js2-mode.el 2013-02-19 15:18:21 +0000 @@ -49,7 +49,7 @@ ;; ;; To install it as your major mode for JavaScript editing: -;; (add-to-list 'auto-mode-alist '("\\.js$" . js2-mode)) +;; (add-to-list 'auto-mode-alist '("\\.js\\'" . js2-mode)) ;; Alternately, to install it as a minor mode just for JavaScript linting, ;; you must add it to the appropriate major-mode hook. Normally this would be: