From 1bf95511a401d61178e4f01ff7918f1c31c60a07 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 13 Mar 1998 21:22:05 +0000 Subject: [PATCH] (internal_self_insert): Call Fforward_buffer to advance over the replacement characters. --- src/cmds.c | 3 +-- 1 file changed, 1 insertion(+), 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); -- 2.39.2