summaryrefslogtreecommitdiff
path: root/src/cmds.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1998-03-13 21:22:05 +0000
committerRichard M. Stallman <rms@gnu.org>1998-03-13 21:22:05 +0000
commit1bf95511a401d61178e4f01ff7918f1c31c60a07 (patch)
tree1bf9ab56349e98bf9f1e4960f3ad02ebfe49fecc /src/cmds.c
parent0d9be91c3775d1ac5762b0e005a2d5f75dc307d3 (diff)
downloademacs-1bf95511a401d61178e4f01ff7918f1c31c60a07.tar.gz
(internal_self_insert): Call Fforward_buffer to advance
over the replacement characters.
Diffstat (limited to 'src/cmds.c')
-rw-r--r--src/cmds.c3
1 files changed, 1 insertions, 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);