Mercurial > emacs
changeset 21149:43ed5912d7e0
(internal_self_insert): Call Fforward_buffer to advance
over the replacement characters.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 13 Mar 1998 21:22:05 +0000 |
parents | bbbd345f54de |
children | a9e9f674c9c9 |
files | src/cmds.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cmds.c Thu Mar 12 23:11:57 1998 +0000 +++ b/src/cmds.c Fri Mar 13 21:22:05 1998 +0000 @@ -456,8 +456,7 @@ } 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);