summaryrefslogtreecommitdiff
path: root/src/abbrev.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2004-07-31 03:37:21 +0000
committerRichard M. Stallman <rms@gnu.org>2004-07-31 03:37:21 +0000
commit451eaa2138828c165b29f39fe7066dbb04850cb0 (patch)
tree54446dd1966fea1349f3e11057b5cac68f4436e1 /src/abbrev.c
parent4bcce19cc188070e06d7655e47b94f5809413da5 (diff)
downloademacs-451eaa2138828c165b29f39fe7066dbb04850cb0.tar.gz
(Fexpand_abbrev): Undo previous change.
Diffstat (limited to 'src/abbrev.c')
-rw-r--r--src/abbrev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/abbrev.c b/src/abbrev.c
index 37ab640ee43..ac132f20023 100644
--- a/src/abbrev.c
+++ b/src/abbrev.c
@@ -248,6 +248,8 @@ Returns the abbrev symbol, if expansion took place. */)
value = Qnil;
+ Frun_hooks (1, &Qpre_abbrev_expand_hook);
+
wordstart = 0;
if (!(BUFFERP (Vabbrev_start_location_buffer)
&& XBUFFER (Vabbrev_start_location_buffer) == current_buffer))
@@ -324,8 +326,6 @@ Returns the abbrev symbol, if expansion took place. */)
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