diff options
author | Glenn Morris <[email protected]> | 2011-05-26 21:00:53 -0400 |
---|---|---|
committer | Glenn Morris <[email protected]> | 2011-05-26 21:00:53 -0400 |
commit | e145f1881a460f77190b02968657d58b73ab8f56 (patch) | |
tree | 0c503660c9f37d5d2fcfb38d42ac523145440359 /etc | |
parent | 8c7c1f6d955a74dee347f8c4fa2538b8eeccbcbf (diff) |
Make set-auto-mode respect mode: entries at the end of the file (bug#8586)
* lisp/files.el (set-auto-mode):
Also respect mode: entries at the end of the file.
* doc/lispref/modes.texi (Auto Major Mode):
Update for set-auto-mode changes.
* doc/emacs/custom.texi (Specifying File Variables):
Major modes no longer need come first.
* etc/NEWS: Mention this.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -993,6 +993,10 @@ being reverted, even if the buffer has a local `revert-buffer-function'. ** New variables `delayed-warnings-list' and `delayed-warnings-hook' allow deferring warnings until the main command loop is executed. ++++ +** `set-auto-mode' now respects mode: local variables at the end of files, +as well as those in the -*- line. + * Changes in Emacs 24.1 on non-free operating systems |