From: Richard M. Stallman Date: Mon, 26 Nov 2001 00:07:17 +0000 (+0000) Subject: (Fkill_buffer): Use Frun_hooks, not Vrun_hooks. X-Git-Tag: ttn-vms-21-2-B4~18162 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f1597a3a85850d6a270c1a005089e9fa2f526a0a;p=emacs.git (Fkill_buffer): Use Frun_hooks, not Vrun_hooks. --- diff --git a/src/buffer.c b/src/buffer.c index 5eace5b96e3..84fdd35a2de 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -1292,8 +1292,7 @@ with SIGHUP. */) } /* Then run the hooks. */ - if (!NILP (Vrun_hooks)) - call1 (Vrun_hooks, Qkill_buffer_hook); + Frun_hooks (1, &Qkill_buffer_hook); unbind_to (count, Qnil); }