]> git.eshelyaron.com Git - emacs.git/commitdiff
* files.el (auto-mode-alist): Use javascript-mode for .jsm
authorTom Tromey <tom@tromey.com>
Thu, 16 Oct 2014 19:56:43 +0000 (13:56 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 16 Oct 2014 19:56:43 +0000 (13:56 -0600)
(bug #18719).

lisp/ChangeLog
lisp/files.el

index fa0aa42ad3cffd754e9ddd13ae954b3796a236ba..0ede6a0dad374769ff33d37fce43cf90fbc02eed 100644 (file)
@@ -1,3 +1,8 @@
+2014-10-16  Tom Tromey  <tom@tromey.com>
+
+       * files.el (auto-mode-alist): Use javascript-mode for .jsm
+       (bug #18719).
+
 2014-10-16  Eli Zaretskii  <eliz@gnu.org>
 
        * international/characters.el (bracket-type): Force pre-loading of
index 84391c1716475b886e0a216d9d10c7cdccfb78b0..be1b6c29d10133e84d4ab859d6bb34a5caac255f 100644 (file)
@@ -2413,7 +2413,7 @@ ARC\\|ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\|RAR\\|7Z\\)\\'" . archive-mode)
      ("\\.dbk\\'" . xml-mode)
      ("\\.dtd\\'" . sgml-mode)
      ("\\.ds\\(ss\\)?l\\'" . dsssl-mode)
-     ("\\.js\\'" . javascript-mode)
+     ("\\.jsm?\\'" . javascript-mode)
      ("\\.json\\'" . javascript-mode)
      ("\\.[ds]?vh?\\'" . verilog-mode)
      ("\\.by\\'" . bovine-grammar-mode)