diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/insdel.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/insdel.c b/src/insdel.c index 54d1cf1606e..536e9e7767b 100644 --- a/src/insdel.c +++ b/src/insdel.c | |||
| @@ -800,6 +800,9 @@ insert_1_both (string, nchars, nbytes, inherit, prepare, before_markers) | |||
| 800 | { | 800 | { |
| 801 | register Lisp_Object temp; | 801 | register Lisp_Object temp; |
| 802 | 802 | ||
| 803 | if (NILP (current_buffer->enable_multibyte_characters)) | ||
| 804 | nchars = nbytes; | ||
| 805 | |||
| 803 | if (prepare) | 806 | if (prepare) |
| 804 | prepare_to_modify_buffer (PT, PT, NULL); | 807 | prepare_to_modify_buffer (PT, PT, NULL); |
| 805 | 808 | ||