From c595fad9d8f03d6ab3c09ebeb584369b2f147514 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Thu, 12 Oct 2006 12:11:48 +0000 Subject: [PATCH] (auto-mode-alist): Match change log file name also with a dash before a numeric extension. --- lisp/ChangeLog | 5 +++++ lisp/files.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index dfe31d8c196..ff88cc0b2a6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2006-10-12 Andreas Schwab + + * files.el (auto-mode-alist): Match change log file name also with + a dash before a numeric extension. + 2006-10-11 Stefan Monnier * progmodes/cperl-mode.el: Merge from upstream, upto version 5.22. diff --git a/lisp/files.el b/lisp/files.el index 1589e2c5998..556c5e680b7 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -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) -- 2.39.2