summaryrefslogtreecommitdiff
path: root/lisp/files.el
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2006-10-12 12:11:48 +0000
committerAndreas Schwab <schwab@suse.de>2006-10-12 12:11:48 +0000
commitc595fad9d8f03d6ab3c09ebeb584369b2f147514 (patch)
tree0f0973d7f12798fccbb0482ec97861bc2f4e9c80 /lisp/files.el
parentdb71197e331f65184a3a8e0a472b4fe3adf99fb6 (diff)
downloademacs-c595fad9d8f03d6ab3c09ebeb584369b2f147514.tar.gz
(auto-mode-alist): Match change log file name also with
a dash before a numeric extension.
Diffstat (limited to 'lisp/files.el')
-rw-r--r--lisp/files.el2
1 files changed, 1 insertions, 1 deletions
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)