]> git.eshelyaron.com Git - emacs.git/commitdiff
(Funexpand_abbrev): Add ADJUST instead of subtracting.
authorRichard M. Stallman <rms@gnu.org>
Wed, 5 Aug 1998 14:59:09 +0000 (14:59 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 5 Aug 1998 14:59:09 +0000 (14:59 +0000)
src/abbrev.c

index 1992b6ca222024929fde6bba8415868c4798c09e..7899bc56d4907fecb753910d24ee067bf7b10a7c 100644 (file)
@@ -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;
 }
 \f