changeset 57722:395139acfd03

set-auto-mode change
author Daniel Pfeiffer <occitan@esperanto.org>
date Tue, 26 Oct 2004 21:53:34 +0000
parents 095db2c661af
children 6a65cb24e1be
files etc/NEWS
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/etc/NEWS	Tue Oct 26 21:44:20 2004 +0000
+++ b/etc/NEWS	Tue Oct 26 21:53:34 2004 +0000
@@ -99,6 +99,12 @@
 * Changes in Emacs 21.4
 
 +++
+** `set-auto-mode' now gives the interpreter magic line (if present)
+precedence over the file name.  Likewise an <?xml or <!DOCTYPE declaration
+will give the buffer XML or SGML mode, unless the file name leads to a mode in
+`xml-based-modes'.
+
++++
 ** New function `looking-back' checks whether a regular expression matches
 the text before point.  Specifying the LIMIT argument bounds how far
 back the match can start; this is a way to keep it from taking too long.