diff options
| author | Daniel Pfeiffer | 2004-10-26 21:53:34 +0000 |
|---|---|---|
| committer | Daniel Pfeiffer | 2004-10-26 21:53:34 +0000 |
| commit | f3df10330613251c2aee9d0bd60651039bd71dd4 (patch) | |
| tree | a638e15d95f4ddee4977e4a9428f8d515fddb7e8 | |
| parent | bbc67516227ac13bf1988b8a51e69bac7461e2fb (diff) | |
| download | emacs-f3df10330613251c2aee9d0bd60651039bd71dd4.tar.gz emacs-f3df10330613251c2aee9d0bd60651039bd71dd4.zip | |
set-auto-mode change
| -rw-r--r-- | etc/NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -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) | ||
| 103 | precedence over the file name. Likewise an <?xml or <!DOCTYPE declaration | ||
| 104 | will 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 |
| 103 | the text before point. Specifying the LIMIT argument bounds how far | 109 | the text before point. Specifying the LIMIT argument bounds how far |
| 104 | back the match can start; this is a way to keep it from taking too long. | 110 | back the match can start; this is a way to keep it from taking too long. |