diff options
| author | Alan Mackenzie | 2016-05-06 18:58:49 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2016-05-06 18:58:49 +0000 |
| commit | 26171e02773b9b2383f412dd79d241385d2d20df (patch) | |
| tree | ef3a323014b2477b6a3f309bfcf548e90c8d20be /etc | |
| parent | 81204b276f849b577a0ccd0b6175353dfa9e2a07 (diff) | |
| download | emacs-26171e02773b9b2383f412dd79d241385d2d20df.tar.gz emacs-26171e02773b9b2383f412dd79d241385d2d20df.zip | |
Correct hack-local-variables change from Thu May 5 11:05:49 2016 +0000
Prevent hack-local-variables being called from the fundamental-mode mode call
early in normal-mode. This fixes bug #23460 and bug #23463.
* lisp/files.el (normal-mode) Replace call to fundamental-mode with calls to
the things it calls, with the exception of hack-local-variables.
* etc/NEWS: Add an entry to note the calling of hack-local-variables at each
major mode initialization.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -156,6 +156,11 @@ probability of data corruption due to techniques Emacs uses to recover | |||
| 156 | in these situations. | 156 | in these situations. |
| 157 | 157 | ||
| 158 | +++ | 158 | +++ |
| 159 | ** File local and directory local variables are now initialized each | ||
| 160 | time the major mode is set, not just when the file is first visited. | ||
| 161 | These local variables will thus not vanish on setting a major mode. | ||
| 162 | |||
| 163 | +++ | ||
| 159 | ** A second dir-local file (.dir-locals-2.el) is now accepted. | 164 | ** A second dir-local file (.dir-locals-2.el) is now accepted. |
| 160 | See the variable 'dir-locals-file-2' for more information. | 165 | See the variable 'dir-locals-file-2' for more information. |
| 161 | 166 | ||