Mercurial > emacs
changeset 75006:a8f469237c7e
*** empty log message ***
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Sun, 31 Dec 2006 00:48:53 +0000 |
parents | eda5cae57c32 |
children | 4b58ce68eaec |
files | etc/NEWS lisp/ChangeLog man/ChangeLog |
diffstat | 3 files changed, 20 insertions(+), 1 deletions(-) [+] |
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'.
--- a/lisp/ChangeLog Sun Dec 31 00:38:43 2006 +0000 +++ b/lisp/ChangeLog Sun Dec 31 00:48:53 2006 +0000 @@ -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>
--- a/man/ChangeLog Sun Dec 31 00:38:43 2006 +0000 +++ b/man/ChangeLog Sun Dec 31 00:48:53 2006 +0000 @@ -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.