only when a real abbrev is present.
value = Qnil;
- Frun_hooks (1, &Qpre_abbrev_expand_hook);
-
wordstart = 0;
if (!(BUFFERP (Vabbrev_start_location_buffer)
&& XBUFFER (Vabbrev_start_location_buffer) == current_buffer))
if (INTEGERP (sym) || NILP (SYMBOL_VALUE (sym)))
return value;
+ Frun_hooks (1, &Qpre_abbrev_expand_hook);
+
if (INTERACTIVE && !EQ (minibuf_window, selected_window))
{
/* Add an undo boundary, in case we are doing this for