From: Richard M. Stallman Date: Wed, 5 Aug 1998 14:59:09 +0000 (+0000) Subject: (Funexpand_abbrev): Add ADJUST instead of subtracting. X-Git-Tag: emacs-20.3~170 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=57522629c8331e05c05333fd2f97956f8f546d29;p=emacs.git (Funexpand_abbrev): Add ADJUST instead of subtracting. --- diff --git a/src/abbrev.c b/src/abbrev.c index 1992b6ca222..7899bc56d49 100644 --- a/src/abbrev.c +++ b/src/abbrev.c @@ -399,7 +399,7 @@ is not undone.") /* 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; }