Commit 7410477a authored by Karl Heuer's avatar Karl Heuer
Browse files

(Fkill_all_local_variables): Run change-major-mode-hook.

parent f94397b5
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment