aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Pfeiffer2004-10-26 21:53:34 +0000
committerDaniel Pfeiffer2004-10-26 21:53:34 +0000
commitf3df10330613251c2aee9d0bd60651039bd71dd4 (patch)
treea638e15d95f4ddee4977e4a9428f8d515fddb7e8
parentbbc67516227ac13bf1988b8a51e69bac7461e2fb (diff)
downloademacs-f3df10330613251c2aee9d0bd60651039bd71dd4.tar.gz
emacs-f3df10330613251c2aee9d0bd60651039bd71dd4.zip
set-auto-mode change
-rw-r--r--etc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index d7f59d22551..40b48bf30a1 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -99,6 +99,12 @@ types any more. Add -DUSE_LISP_UNION_TYPE if you want union types.
99* Changes in Emacs 21.4 99* Changes in Emacs 21.4
100 100
101+++ 101+++
102** `set-auto-mode' now gives the interpreter magic line (if present)
103precedence over the file name. Likewise an <?xml or <!DOCTYPE declaration
104will give the buffer XML or SGML mode, unless the file name leads to a mode in
105`xml-based-modes'.
106
107+++
102** New function `looking-back' checks whether a regular expression matches 108** New function `looking-back' checks whether a regular expression matches
103the text before point. Specifying the LIMIT argument bounds how far 109the text before point. Specifying the LIMIT argument bounds how far
104back the match can start; this is a way to keep it from taking too long. 110back the match can start; this is a way to keep it from taking too long.