changeset 16334:5c4b76c66de2

(auto-mode-alist): Add lower-case varieties of ChangeLog filenames, for case-insensitive MSDOS and MS-Windows. (insert-file-contents-literally): Doc fix.
author Richard M. Stallman <rms@gnu.org>
date Wed, 25 Sep 1996 22:37:27 +0000
parents 585956e62c87
children 6cf0a8b5c895
files lisp/files.el
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/files.el	Wed Sep 25 22:35:17 1996 +0000
+++ b/lisp/files.el	Wed Sep 25 22:37:27 1996 +0000
@@ -718,7 +718,10 @@
 A buffer may be modified in several ways after reading into the buffer due
 to advanced Emacs features, such as file-name-handlers, format decoding,
 find-file-hooks, etc.
-  This function ensures that none of these modifications will take place."
+  This function ensures that none of these modifications will take place.
+
+This function does not work for remote files, because it turns off
+file name handlers and remote file access uses a file name handler."
   (let ((file-name-handler-alist nil)
 	(format-alist nil)
 	(after-insert-file-functions nil)
@@ -966,6 +969,9 @@
     ("change.log\\'" . change-log-mode)
     ("changelo\\'" . change-log-mode)
     ("ChangeLog.[0-9]+\\'" . change-log-mode)
+    ;; for MSDOS and MS-Windows (which are case-insensitive)
+    ("changelog\\'" . change-log-mode)
+    ("changelog.[0-9]+\\'" . change-log-mode)
     ("\\$CHANGE_LOG\\$\\.TXT" . change-log-mode)
     ("\\.scm\\.[0-9]*\\'" . scheme-mode)
     ("\\.[ck]?sh\\'\\|\\.shar\\'\\|/\\.z?profile\\'" . sh-mode)