changeset 73342:29316290f939

(auto-mode-alist): Match change log file name also with a dash before a numeric extension.
author Andreas Schwab <schwab@suse.de>
date Thu, 12 Oct 2006 12:11:33 +0000
parents 381523fcc2fd
children 76b7d3c20cb8
files lisp/files.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/files.el	Thu Oct 12 06:37:11 2006 +0000
+++ b/lisp/files.el	Thu Oct 12 12:11:33 2006 +0000
@@ -1906,7 +1906,7 @@
      ("\\.[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)