diff etc/NEWS @ 30693:fc3acf3f8131

*** empty log message ***
author Gerd Moellmann <gerd@gnu.org>
date Tue, 08 Aug 2000 18:42:55 +0000
parents db7dfd959c19
children 408aec5f514c
line wrap: on
line diff
--- a/etc/NEWS	Tue Aug 08 18:36:04 2000 +0000
+++ b/etc/NEWS	Tue Aug 08 18:42:55 2000 +0000
@@ -29,6 +29,16 @@
 
 * Changes in Emacs 21.1
 
+** The new variable `auto-mode-interpreter-regexp' contains a regular
+expression matching interpreters, for file mode determination.
+
+This regular expression is matched against the first line of a file to
+determine the file's mode in `set-auto-mode' when Emacs can't deduce a
+mode from the file's name.  If it matches, the file is assumed to be
+interpreted by the interpreter matched by the second group of the
+regular expression.  The mode is then determined as the mode
+associated with that interpreter in `interpreter-mode-alist'.
+
 ** C-down-mouse-3 is bound differently.  Now if the menu bar is not
 displayed it pops up a menu containing the items which would be on the
 menu bar.  If the menu bar is displayed, it pops up the major mode