comparison src/buffer.c @ 5873:fa8b769ef564

(Fkill_all_local_variables): Run change-major-mode-hook.
author Karl Heuer <kwzh@gnu.org>
date Wed, 09 Feb 1994 23:47:09 +0000
parents 03f8720af7fb
children 7f95b8e1ec44
comparison
equal deleted inserted replaced
5872:6389c826f847 5873:fa8b769ef564
1191 a non-nil `permanent-local' property are not eliminated by this function.") 1191 a non-nil `permanent-local' property are not eliminated by this function.")
1192 () 1192 ()
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
1199 for their current values. */ 1201 for their current values. */
1200 1202