From fd76094657c5f4e98495f2dded726373cc0509dd Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 24 Jul 2000 18:41:13 +0000 Subject: [PATCH] (temp_output_buffer_setup): Don't call1 Vrun_hooks if that is nil. --- src/print.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/print.c b/src/print.c index 2ba860b857c..debd6c67f98 100644 --- a/src/print.c +++ b/src/print.c @@ -583,7 +583,8 @@ temp_output_buffer_setup (bufname) 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); -- 2.39.2