diff options
author | Jim Blandy <jimb@redhat.com> | 1993-02-23 14:17:11 +0000 |
---|---|---|
committer | Jim Blandy <jimb@redhat.com> | 1993-02-23 14:17:11 +0000 |
commit | 2471a2815be559b063401028203f08b2b365979b (patch) | |
tree | fd608c88d25f1e9670e2af34b8279ece775c464c /src/abbrev.c | |
parent | 8dd926cab5c4c49944d0a3d8c8e65498dd84e879 (diff) | |
download | emacs-2471a2815be559b063401028203f08b2b365979b.tar.gz |
* abbrev.c (Fexpand_abbrev): Only copy the text we're going to
expand - from wordstart to wordend, not from wordstart to point -
into the buffer. There might be non-word text between wordend and
point.
Diffstat (limited to 'src/abbrev.c')
-rw-r--r-- | src/abbrev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/abbrev.c b/src/abbrev.c index f56054bda51..c9ea673e696 100644 --- a/src/abbrev.c +++ b/src/abbrev.c @@ -257,7 +257,7 @@ Returns t if expansion took place.") p = buffer = (char *) alloca (wordend - wordstart); - for (idx = wordstart; idx < point; idx++) + for (idx = wordstart; idx < wordend; idx++) { register int c = FETCH_CHAR (idx); if (UPPERCASEP (c)) |