changeset 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 6389c826f847
children fbda87c8ad54
files src/buffer.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/buffer.c	Wed Feb 09 23:31:54 1994 +0000
+++ b/src/buffer.c	Wed Feb 09 23:47:09 1994 +0000
@@ -1193,6 +1193,8 @@
 {
   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