changeset 41522:ee8692067cf0

(Fexpand_abbrev): Use Frun_hooks instead of Vrun_hooks.
author Richard M. Stallman <rms@gnu.org>
date Mon, 26 Nov 2001 00:05:33 +0000
parents 882962e010c5
children 9dcf83921a38
files src/abbrev.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/abbrev.c	Mon Nov 26 00:04:43 2001 +0000
+++ b/src/abbrev.c	Mon Nov 26 00:05:33 2001 +0000
@@ -234,8 +234,7 @@
 
   value = Qnil;
 
-  if (!NILP (Vrun_hooks))
-    call1 (Vrun_hooks, Qpre_abbrev_expand_hook);
+  Frun_hooks (1, &Qpre_abbrev_expand_hook);
 
   wordstart = 0;
   if (!(BUFFERP (Vabbrev_start_location_buffer)