Mercurial > emacs
diff etc/NEWS @ 75006:a8f469237c7e
*** empty log message ***
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Sun, 31 Dec 2006 00:48:53 +0000 |
parents | 091a17e8cb83 |
children | b4934b436020 bc10a33dd40b |
line wrap: on
line diff
--- a/etc/NEWS Sun Dec 31 00:38:43 2006 +0000 +++ b/etc/NEWS Sun Dec 31 00:48:53 2006 +0000 @@ -5544,6 +5544,15 @@ ** Major mode mechanism changes: +++ +*** If new variable `auto-mode-case-fold' is set to a non-nil value, +Emacs will perform a second case-insensitive search through +`auto-mode-alist' if the first case-sensitive search fails. +This means that a file FILE.TXT is opened in text-mode, and a file PROG.PY +is opened in python-mode. Note however, that independent of this +setting, *.C files are usually recognized as C++ files. +It also has no effect on systems with case-insensitive file names. + ++++ *** New variable `magic-mode-alist' determines major mode for a file by looking at the file contents. It takes precedence over `auto-mode-alist'.