diff options
author | Richard M. Stallman <rms@gnu.org> | 2001-11-26 00:07:17 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2001-11-26 00:07:17 +0000 |
commit | f1597a3a85850d6a270c1a005089e9fa2f526a0a (patch) | |
tree | 7a3a6bb611425a1e26548b9407bb02d69ab7bb45 | |
parent | 7753968278818ef78cc2e97640f299f9585cf392 (diff) | |
download | emacs-f1597a3a85850d6a270c1a005089e9fa2f526a0a.tar.gz |
(Fkill_buffer): Use Frun_hooks, not Vrun_hooks.
-rw-r--r-- | src/buffer.c | 3 |
1 files changed, 1 insertions, 2 deletions
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); } |