# HG changeset patch # User Andreas Schwab # Date 1160655093 0 # Node ID 29316290f9394147da8dc7926667267b93226c06 # Parent 381523fcc2fdb1b1e9702d17ed92fe7ec6a4b057 (auto-mode-alist): Match change log file name also with a dash before a numeric extension. diff -r 381523fcc2fd -r 29316290f939 lisp/files.el --- 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)