diff options
| author | Karl Heuer | 1994-02-09 23:47:09 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-02-09 23:47:09 +0000 |
| commit | 7410477aeeb19908f67d629b2b21fe576da4aafa (patch) | |
| tree | 295e349543a7b258664770136e21e3b97e25cb9a | |
| parent | f94397b551f60e67f26b0c5f54309c8d337ca8c2 (diff) | |
| download | emacs-7410477aeeb19908f67d629b2b21fe576da4aafa.tar.gz emacs-7410477aeeb19908f67d629b2b21fe576da4aafa.zip | |
(Fkill_all_local_variables): Run change-major-mode-hook.
| -rw-r--r-- | src/buffer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c index 9f0d81e7068..46669694863 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -1193,6 +1193,8 @@ a non-nil `permanent-local' property are not eliminated by this function.") | |||
| 1193 | { | 1193 | { |
| 1194 | register Lisp_Object alist, sym, tem; | 1194 | register Lisp_Object alist, sym, tem; |
| 1195 | Lisp_Object oalist; | 1195 | Lisp_Object oalist; |
| 1196 | |||
| 1197 | call1 (Vrun_hooks, intern ("change-major-mode-hook")); | ||
| 1196 | oalist = current_buffer->local_var_alist; | 1198 | oalist = current_buffer->local_var_alist; |
| 1197 | 1199 | ||
| 1198 | /* Make sure no local variables remain set up with this buffer | 1200 | /* Make sure no local variables remain set up with this buffer |