summaryrefslogtreecommitdiff
path: root/src/abbrev.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1998-08-05 14:59:09 +0000
committerRichard M. Stallman <rms@gnu.org>1998-08-05 14:59:09 +0000
commit57522629c8331e05c05333fd2f97956f8f546d29 (patch)
tree1d38033324d1d5cd3db8b818fbb6754aadc454c8 /src/abbrev.c
parent463deb666722eba17a9b07822bb9be30830f7a93 (diff)
downloademacs-57522629c8331e05c05333fd2f97956f8f546d29.tar.gz
(Funexpand_abbrev): Add ADJUST instead of subtracting.
Diffstat (limited to 'src/abbrev.c')
-rw-r--r--src/abbrev.c2
1 files changed, 1 insertions, 1 deletions
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;
}