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
e500c47d
Commit
e500c47d
authored
Dec 03, 2008
by
Kenichi Handa
Browse files
(font_at): Set `multibyte' at first.
parent
ca516334
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
src/ChangeLog
src/ChangeLog
+2
-0
src/font.c
src/font.c
+3
-1
No files found.
src/ChangeLog
View file @
e500c47d
2008-12-03 Kenichi Handa <handa@m17n.org>
* font.c (font_at): Set `multibyte' at first.
* coding.c (decode_coding_charset): Check type of an element of
vector VALIDS.
...
...
src/font.c
View file @
e500c47d
...
...
@@ -3622,11 +3622,13 @@ font_at (c, pos, face, w, string)
int multibyte;
Lisp_Object font_object;
multibyte = (NILP (string)
? ! NILP (current_buffer->enable_multibyte_characters)
: STRING_MULTIBYTE (string));
if (c < 0)
{
if (NILP (string))
{
multibyte = ! NILP (current_buffer->enable_multibyte_characters);
if (multibyte)
{
EMACS_INT pos_byte = CHAR_TO_BYTE (pos);
...
...
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