]> code.delx.au - gnu-emacs-elpa/blobdiff - README.md
Use \\' instead of $
[gnu-emacs-elpa] / README.md
index e7431f0939f9aaa30d92c5b94bd5bc76d0a3dbad..d66c69a906f2951c7d42340cc8882371d62e4498 100644 (file)
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@ Then put js2-mode.elc into your site-lisp directory.
 In your emacs config:
 
     (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))
 
 See <http://code.google.com/p/js2-mode/wiki/InstallationInstructions> for
 additional details.