Make set-visited-file-name reload local variables if needed.
authorGlenn Morris <rgm@gnu.org>
Thu, 27 Oct 2011 06:38:32 +0000 (23:38 -0700)
committerGlenn Morris <rgm@gnu.org>
Thu, 27 Oct 2011 06:38:32 +0000 (23:38 -0700)
commit51bc5f8b7385d8e632add4f70ca091ebe7a32799
tree15a48fb53346fd9f0247c62a39bc2c3a96f8d153
parent9c6c6f495b8469ca5e105f5ddb02a69d1303a106
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
lisp/ChangeLog
lisp/files.el