From c3c9dab41b637b53034dd2f3dce6bf042380adae Mon Sep 17 00:00:00 2001 From: "K. Handa" Date: Sat, 2 May 2015 22:38:36 +0900 Subject: [PATCH] * cmds.c (internal_self_insert): When we insert spaces for padding, set point before the padding spaces, not after them. --- src/cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmds.c b/src/cmds.c index 168ce8355ed..b590805ea8a 100644 --- a/src/cmds.c +++ b/src/cmds.c @@ -473,7 +473,7 @@ internal_self_insert (int c, EMACS_INT n) } replace_range (PT, PT + chars_to_delete, string, 1, 1, 1); - Fforward_char (make_number (n + spaces_to_insert)); + Fforward_char (make_number (n)); } else if (n > 1) { -- 2.39.2