changeset 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 53b018832269
children 5571f38cc118
files src/abbrev.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;
 }