HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d02434
)
(insert_1_both): If enable-multibyte-characters is nil,
author
Kenichi Handa
<handa@m17n.org>
Tue, 3 Mar 1998 07:18:46 +0000
(07:18 +0000)
committer
Kenichi Handa
<handa@m17n.org>
Tue, 3 Mar 1998 07:18:46 +0000
(07:18 +0000)
insert each byte as one character.
src/insdel.c
patch
|
blob
|
blame
|
history
diff --git
a/src/insdel.c
b/src/insdel.c
index
54d1cf1
..
536e9e7
100644
(file)
--- a/
src/insdel.c
+++ b/
src/insdel.c
@@
-800,6
+800,9
@@
insert_1_both (string, nchars, nbytes, inherit, prepare, before_markers)
{
register Lisp_Object temp;
+ if (NILP (current_buffer->enable_multibyte_characters))
+ nchars = nbytes;
+
if (prepare)
prepare_to_modify_buffer (PT, PT, NULL);