From: K. Handa Date: Sat, 2 May 2015 13:38:36 +0000 (+0900) Subject: * cmds.c (internal_self_insert): When we insert spaces for X-Git-Tag: emacs-25.0.90~2230 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c3c9dab41b637b53034dd2f3dce6bf042380adae;p=emacs.git * cmds.c (internal_self_insert): When we insert spaces for padding, set point before the padding spaces, not after them. --- 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) {