changeset 41525:e484ddbc92e1

(temp_output_buffer_setup): Use Frun_hooks, not Vrun_hooks.
author Richard M. Stallman <rms@gnu.org>
date Mon, 26 Nov 2001 00:08:20 +0000
parents 095a45698793
children f0fb05d40941
files src/print.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/print.c	Mon Nov 26 00:07:17 2001 +0000
+++ b/src/print.c	Mon Nov 26 00:08:20 2001 +0000
@@ -599,8 +599,7 @@
   Ferase_buffer ();
   XSETBUFFER (buf, current_buffer);
 
-  if (!NILP (Vrun_hooks))
-    call1 (Vrun_hooks, Qtemp_buffer_setup_hook);
+  Frun_hooks (1, &Qtemp_buffer_setup_hook);
 
   unbind_to (count, Qnil);