]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fexpand_abbrev): Use Frun_hooks instead of Vrun_hooks.
authorRichard M. Stallman <rms@gnu.org>
Mon, 26 Nov 2001 00:05:33 +0000 (00:05 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 26 Nov 2001 00:05:33 +0000 (00:05 +0000)
src/abbrev.c

index 51623ade93cb99663c6d492597643d60e701e120..58ddd6dba49355414daa863bc97fbb9330065bfd 100644 (file)
@@ -234,8 +234,7 @@ Returns the abbrev symbol, if expansion took place.  */)
 
   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)