diff options
author | Kim F. Storm <storm@cua.dk> | 2006-12-31 00:48:53 +0000 |
---|---|---|
committer | Kim F. Storm <storm@cua.dk> | 2006-12-31 00:48:53 +0000 |
commit | f57cdb50a7d11aec40238bfe8687eaaf403e1b17 (patch) | |
tree | 9dd5392e3384d8629261745959ecfca3d1494d28 | |
parent | 2c47a0f0fc4aa69715314552f74bf2b5b77953e6 (diff) | |
download | emacs-f57cdb50a7d11aec40238bfe8687eaaf403e1b17.tar.gz |
*** empty log message ***
-rw-r--r-- | etc/NEWS | 9 | ||||
-rw-r--r-- | lisp/ChangeLog | 8 | ||||
-rw-r--r-- | man/ChangeLog | 4 |
3 files changed, 20 insertions, 1 deletions
@@ -5544,6 +5544,15 @@ of multiline constructs so that such constructs get properly recognized. ** 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'. diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 273d7f52eb0..1c1070b040b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2006-12-31 Kim F. Storm <storm@cua.dk> + + * files.el (auto-mode-case-fold): New defcustom. + (set-auto-mode): If non-nil, perform second case-sensitive pass + through auto-mode-alist if first pass failed. + 2006-12-30 Richard Stallman <rms@gnu.org> * emacs-lisp/easy-mmode.el (define-global-minor-mode): Doc fix. @@ -5,7 +11,7 @@ 2006-12-30 Ken Manheimer <ken.manheimer@gmail.com> * allout.el (allout-encrypt-string): Handle symmetric-key - passphrase caching but leave keypair caching to pgg. + passphrase caching but leave keypair caching to pgg. 2006-12-30 Michael Albinus <michael.albinus@gmx.de> diff --git a/man/ChangeLog b/man/ChangeLog index 4a8640bd387..3e6fb6d8164 100644 --- a/man/ChangeLog +++ b/man/ChangeLog @@ -1,3 +1,7 @@ +2006-12-31 Kim F. Storm <storm@cua.dk> + + * major.texi (Choosing Modes): Document auto-mode-case-fond. + 2006-12-30 Kim F. Storm <storm@cua.dk> * killing.texi (CUA Bindings): Fix typo. |