]> code.delx.au - gnu-emacs-elpa/commitdiff
js2-mode: Use \\' instead of $
authorDmitry Gutov <dgutov@yandex.ru>
Tue, 19 Feb 2013 15:18:21 +0000 (19:18 +0400)
committerDmitry Gutov <dgutov@yandex.ru>
Tue, 19 Feb 2013 15:18:21 +0000 (19:18 +0400)
packages/js2-mode/js2-mode.el

index bab5bfc5251a9e4763bec50cbe18cce9ee553714..1aa1d7200885846ca18c3c5b547c4d0fd90e6c79 100644 (file)
@@ -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: