mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-08 20:50:52 -08:00
(Fkill_all_local_variables): Run change-major-mode-hook.
This commit is contained in:
parent
f94397b551
commit
7410477aee
1 changed files with 2 additions and 0 deletions
|
|
@ -1193,6 +1193,8 @@ a non-nil `permanent-local' property are not eliminated by this function.")
|
|||
{
|
||||
register Lisp_Object alist, sym, tem;
|
||||
Lisp_Object oalist;
|
||||
|
||||
call1 (Vrun_hooks, intern ("change-major-mode-hook"));
|
||||
oalist = current_buffer->local_var_alist;
|
||||
|
||||
/* Make sure no local variables remain set up with this buffer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue