diff options
| author | Richard M. Stallman | 1998-08-05 14:59:09 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-08-05 14:59:09 +0000 |
| commit | 57522629c8331e05c05333fd2f97956f8f546d29 (patch) | |
| tree | 1d38033324d1d5cd3db8b818fbb6754aadc454c8 /src | |
| parent | 463deb666722eba17a9b07822bb9be30830f7a93 (diff) | |
| download | emacs-57522629c8331e05c05333fd2f97956f8f546d29.tar.gz emacs-57522629c8331e05c05333fd2f97956f8f546d29.zip | |
(Funexpand_abbrev): Add ADJUST instead of subtracting.
Diffstat (limited to 'src')
| -rw-r--r-- | src/abbrev.c | 2 |
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.") | |||
| 399 | /* Total number of characters deleted. */ | 399 | /* Total number of characters deleted. */ |
| 400 | adjust = ZV - zv_before; | 400 | adjust = ZV - zv_before; |
| 401 | } | 401 | } |
| 402 | SET_PT (last_abbrev_point < opoint ? opoint - adjust : opoint); | 402 | SET_PT (last_abbrev_point < opoint ? opoint + adjust : opoint); |
| 403 | return Qnil; | 403 | return Qnil; |
| 404 | } | 404 | } |
| 405 | 405 | ||