diff options
| author | Glenn Morris | 2011-10-26 23:38:32 -0700 |
|---|---|---|
| committer | Glenn Morris | 2011-10-26 23:38:32 -0700 |
| commit | 51bc5f8b7385d8e632add4f70ca091ebe7a32799 (patch) | |
| tree | 15a48fb53346fd9f0247c62a39bc2c3a96f8d153 /lisp/ChangeLog | |
| parent | 9c6c6f495b8469ca5e105f5ddb02a69d1303a106 (diff) | |
| download | emacs-51bc5f8b7385d8e632add4f70ca091ebe7a32799.tar.gz emacs-51bc5f8b7385d8e632add4f70ca091ebe7a32799.zip | |
Make set-visited-file-name reload local variables if needed.
* lisp/files.el (set-visited-file-name):
If the major-mode changed, reload the local variables.
Fixes: debbugs:9796
Diffstat (limited to 'lisp/ChangeLog')
| -rw-r--r-- | lisp/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f4a0ceecf93..cbfc662da52 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-10-27 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * files.el (set-visited-file-name): If the major-mode changed, | ||
| 4 | reload the local variables. (Bug#9796) | ||
| 5 | |||
| 1 | 2011-10-27 Chong Yidong <cyd@gnu.org> | 6 | 2011-10-27 Chong Yidong <cyd@gnu.org> |
| 2 | 7 | ||
| 3 | * subr.el (change-major-mode-after-body-hook): New hook. | 8 | * subr.el (change-major-mode-after-body-hook): New hook. |