diff options
author | Richard M. Stallman <rms@gnu.org> | 1998-03-13 21:22:05 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1998-03-13 21:22:05 +0000 |
commit | c72ed3b03375ee768cddbad0edd579ca29e337b0 (patch) | |
tree | 742fe37868f918726c815b1b1c53b1f7c2b0bb1c /src/cmds.c | |
parent | 32d12b2e66ea5b1fd2a56a2668a9ffc1266062e5 (diff) | |
download | emacs-c72ed3b03375ee768cddbad0edd579ca29e337b0.tar.gz |
(internal_self_insert): Call Fforward_buffer to advance
over the replacement characters.
Diffstat (limited to 'src/cmds.c')
-rw-r--r-- | src/cmds.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cmds.c b/src/cmds.c index cd814e6f706..ed6dca68f4a 100644 --- a/src/cmds.c +++ b/src/cmds.c @@ -456,8 +456,7 @@ internal_self_insert (c, noautofill) } replace_range (PT, PT + chars_to_delete, string, 1, 1); - SET_PT_BOTH (PT + 1 + spaces_to_insert, - PT_BYTE + XSTRING (string)->size); + Fforward_char (make_number (1 + spaces_to_insert)); } else insert_and_inherit (str, len); |