Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
c347a1c3
Commit
c347a1c3
authored
Jul 04, 2001
by
Gerd Moellmann
Browse files
(x_produce_glyphs): Don't convert multibyte characters
to unibyte characters in unibyte buffers.
parent
62c485d2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
src/ChangeLog
src/ChangeLog
+5
-0
src/xterm.c
src/xterm.c
+2
-4
No files found.
src/ChangeLog
View file @
c347a1c3
2001-07-04 Gerd Moellmann <gerd@gnu.org>
* xterm.c (x_produce_glyphs): Don't convert multibyte characters
to unibyte characters in unibyte buffers.
2001-07-03 Gerd Moellmann <gerd@gnu.org>
* eval.c (specbind): If SYMBOL has a frame-local binding, record
...
...
src/xterm.c
View file @
c347a1c3
...
...
@@ -1817,8 +1817,7 @@ x_produce_glyphs (it)
struct glyph because the character code itself tells if or
not the character is multibyte. Thus, in the future, we must
consider eliminating the field `multibyte_p' in the struct
glyph.
*/
glyph. */
int saved_multibyte_p = it->multibyte_p;
/* Maybe translate single-byte characters to multibyte, or the
...
...
@@ -1839,8 +1838,7 @@ x_produce_glyphs (it)
else if (!SINGLE_BYTE_CHAR_P (it->c)
&& !it->multibyte_p)
{
it->char_to_display = multibyte_char_to_unibyte (it->c, Qnil);
it->multibyte_p = 0;
it->multibyte_p = 1;
it->face_id = FACE_FOR_CHAR (it->f, face, it->char_to_display);
face = FACE_FROM_ID (it->f, it->face_id);
}
...
...
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