changeset 41524:095a45698793

(Fkill_buffer): Use Frun_hooks, not Vrun_hooks.
author Richard M. Stallman <rms@gnu.org>
date Mon, 26 Nov 2001 00:07:17 +0000
parents 9dcf83921a38
children e484ddbc92e1
files src/buffer.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/buffer.c	Mon Nov 26 00:05:57 2001 +0000
+++ b/src/buffer.c	Mon Nov 26 00:07:17 2001 +0000
@@ -1292,8 +1292,7 @@
       }
 
     /* Then run the hooks.  */
-    if (!NILP (Vrun_hooks))
-      call1 (Vrun_hooks, Qkill_buffer_hook);
+    Frun_hooks (1, &Qkill_buffer_hook);
     unbind_to (count, Qnil);
   }