From: Richard M. Stallman Date: Fri, 13 Mar 1998 21:22:05 +0000 (+0000) Subject: (internal_self_insert): Call Fforward_buffer to advance X-Git-Tag: emacs-20.3~1925 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1bf95511a401d61178e4f01ff7918f1c31c60a07;p=emacs.git (internal_self_insert): Call Fforward_buffer to advance over the replacement characters. --- 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);