(FETCH_CHAR_AS_MULTIBYTE): Use unibyte_to_multibyte_table instead of
unibyte_char_to_multibyte.
This commit is contained in:
parent
6536657352
commit
274ec34ba7
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-02-09 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* buffer.h (FETCH_CHAR_AS_MULTIBYTE): Use unibyte_to_multibyte_table
|
||||
instead of unibyte_char_to_multibyte.
|
||||
|
||||
2008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
|
||||
|
||||
* s/gnu-linux.h: Remove commented out code.
|
||||
|
|
|
@ -343,7 +343,7 @@ extern unsigned char *_fetch_multibyte_char_p;
|
|||
#define FETCH_CHAR_AS_MULTIBYTE(pos) \
|
||||
(!NILP (current_buffer->enable_multibyte_characters) \
|
||||
? FETCH_MULTIBYTE_CHAR ((pos)) \
|
||||
: unibyte_char_to_multibyte (FETCH_BYTE ((pos))))
|
||||
: unibyte_to_multibyte_table[(FETCH_BYTE ((pos)))])
|
||||
|
||||
|
||||
/* Macros for accessing a character or byte,
|
||||
|
|
Loading…
Add table
Reference in a new issue