diff etc/NEWS @ 74742:cf3db92fe927

*** empty log message ***
author Kim F. Storm <storm@cua.dk>
date Tue, 19 Dec 2006 09:24:45 +0000
parents 486c403b912b
children 15e2bb4df6d0
line wrap: on
line diff
--- a/etc/NEWS	Tue Dec 19 09:14:00 2006 +0000
+++ b/etc/NEWS	Tue Dec 19 09:24:45 2006 +0000
@@ -5517,10 +5517,16 @@
 ** Major mode mechanism changes:
 
 +++
-*** `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, based on the new
-variable `magic-mode-alist'.
+*** New variable `magic-mode-alist' determines major mode for a file by
+looking the file contents.  It take precedence over `auto-mode-alist'.
+
++++
+*** An interpreter magic line (if present) takes precedence over the
+file name when setting the major mode.
+
++++
+*** XML or SGML major mode is selected when file starts with an `<?xml'
+or `<!DOCTYPE' declaration.
 
 +++
 *** Use the new function `run-mode-hooks' to run the major mode's mode hook.