comparison src/abbrev.c @ 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 cdfd4d09b79a
children b46d482b6ed2
comparison
equal deleted inserted replaced
41521:882962e010c5 41522:ee8692067cf0
232 Lisp_Object expansion, hook, tem; 232 Lisp_Object expansion, hook, tem;
233 Lisp_Object value; 233 Lisp_Object value;
234 234
235 value = Qnil; 235 value = Qnil;
236 236
237 if (!NILP (Vrun_hooks)) 237 Frun_hooks (1, &Qpre_abbrev_expand_hook);
238 call1 (Vrun_hooks, Qpre_abbrev_expand_hook);
239 238
240 wordstart = 0; 239 wordstart = 0;
241 if (!(BUFFERP (Vabbrev_start_location_buffer) 240 if (!(BUFFERP (Vabbrev_start_location_buffer)
242 && XBUFFER (Vabbrev_start_location_buffer) == current_buffer)) 241 && XBUFFER (Vabbrev_start_location_buffer) == current_buffer))
243 Vabbrev_start_location = Qnil; 242 Vabbrev_start_location = Qnil;