aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorGerd Moellmann <[email protected]>2000-08-08 18:42:55 +0000
committerGerd Moellmann <[email protected]>2000-08-08 18:42:55 +0000
commit25ad137130a1888743e2ea65c01c2b317b2f1c8e (patch)
treeb6a240bbd0f50364043cbd4907626996ac5973e7 /etc
parent90df743364dfcd8a1524e35217beb8e920dcf37b (diff)
*** empty log message ***
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS10
1 files changed, 10 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index dcf8b55e99..72d52668d5 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -29,6 +29,16 @@ support 64-bit executables. See etc/MACHINES for instructions.
* 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