]> git.eshelyaron.com Git - emacs.git/commitdiff
(auto-mode-alist): Match change log file name also with
authorAndreas Schwab <schwab@suse.de>
Thu, 12 Oct 2006 12:11:48 +0000 (12:11 +0000)
committerAndreas Schwab <schwab@suse.de>
Thu, 12 Oct 2006 12:11:48 +0000 (12:11 +0000)
a dash before a numeric extension.

lisp/ChangeLog
lisp/files.el

index dfe31d8c196e333e93b56e35012cfc995f8f6de3..ff88cc0b2a6e146174870b1b538d29ffad63225d 100644 (file)
@@ -1,3 +1,8 @@
+2006-10-12  Andreas Schwab  <schwab@suse.de>
+
+       * files.el (auto-mode-alist): Match change log file name also with
+       a dash before a numeric extension.
+
 2006-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * progmodes/cperl-mode.el: Merge from upstream, upto version 5.22.
index 1589e2c5998f74077b3f5f3cd7322be63c95bdac..556c5e680b7df00c90d55f9788cb3057c2538eb3 100644 (file)
@@ -1906,7 +1906,7 @@ in that case, this function acts as if `enable-local-variables' were t."
      ("\\.[sS]\\'" . asm-mode)
      ("\\.asm\\'" . asm-mode)
      ("[cC]hange\\.?[lL]og?\\'" . change-log-mode)
-     ("[cC]hange[lL]og\\.[0-9]+\\'" . change-log-mode)
+     ("[cC]hange[lL]og[-.][0-9]+\\'" . change-log-mode)
      ("\\$CHANGE_LOG\\$\\.TXT" . change-log-mode)
      ("\\.scm\\.[0-9]*\\'" . scheme-mode)
      ("\\.[ck]?sh\\'\\|\\.shar\\'\\|/\\.z?profile\\'" . sh-mode)