Mercurial > emacs
changeset 30432:8f4528e244d5
(temp_output_buffer_setup): Don't call1 Vrun_hooks
if that is nil.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 24 Jul 2000 18:41:13 +0000 |
parents | d73614b6c33b |
children | 6630bd60a33f |
files | src/print.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/print.c Mon Jul 24 18:37:36 2000 +0000 +++ b/src/print.c Mon Jul 24 18:41:13 2000 +0000 @@ -583,7 +583,8 @@ Ferase_buffer (); XSETBUFFER (buf, current_buffer); - call1 (Vrun_hooks, Qtemp_buffer_setup_hook); + if (!NILP (Vrun_hooks)) + call1 (Vrun_hooks, Qtemp_buffer_setup_hook); unbind_to (count, Qnil);