1
Fork 0
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:
Karl Heuer 1994-02-09 23:47:09 +00:00
parent f94397b551
commit 7410477aee

View file

@ -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