From: Kim F. Storm Date: Sun, 31 Dec 2006 00:48:53 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: emacs-pretest-22.0.93~325 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f57cdb50a7d11aec40238bfe8687eaaf403e1b17;p=emacs.git *** empty log message *** --- diff --git a/etc/NEWS b/etc/NEWS index c419831b285..bd5a003f503 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -5543,6 +5543,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 + + * 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 * emacs-lisp/easy-mmode.el (define-global-minor-mode): Doc fix. @@ -5,7 +11,7 @@ 2006-12-30 Ken Manheimer * 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 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 + + * major.texi (Choosing Modes): Document auto-mode-case-fond. + 2006-12-30 Kim F. Storm * killing.texi (CUA Bindings): Fix typo.