Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
38b62842
Commit
38b62842
authored
Aug 07, 1998
by
Kenichi Handa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(internal_self_insert): If enable-multibyte-characters is
nil, convert a multibyte character to unibyte appropriately.
parent
e271fdb3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
src/cmds.c
src/cmds.c
+7
-2
No files found.
src/cmds.c
View file @
38b62842
...
...
@@ -356,8 +356,13 @@ internal_self_insert (c, noautofill)
len
=
CHAR_STRING
(
c
,
workbuf
,
str
);
}
else
workbuf
[
0
]
=
c
,
str
=
workbuf
,
len
=
1
;
{
workbuf
[
0
]
=
(
SINGLE_BYTE_CHAR_P
(
c
)
?
c
:
multibyte_char_to_unibyte
(
c
,
Qnil
));
str
=
workbuf
;
len
=
1
;
}
if
(
!
NILP
(
overwrite
)
&&
PT
<
ZV
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment