Mercurial > emacs
diff src/abbrev.c @ 22909:c8e47ec53eb6
(Funexpand_abbrev): Add ADJUST instead of subtracting.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Wed, 05 Aug 1998 14:59:09 +0000 |
| parents | fa9ff387d260 |
| children | c69d612b0819 |
line wrap: on
line diff
--- a/src/abbrev.c Wed Aug 05 07:09:48 1998 +0000 +++ b/src/abbrev.c Wed Aug 05 14:59:09 1998 +0000 @@ -399,7 +399,7 @@ /* Total number of characters deleted. */ adjust = ZV - zv_before; } - SET_PT (last_abbrev_point < opoint ? opoint - adjust : opoint); + SET_PT (last_abbrev_point < opoint ? opoint + adjust : opoint); return Qnil; }
