Commit 274ec34b authored by Eli Zaretskii's avatar Eli Zaretskii

(FETCH_CHAR_AS_MULTIBYTE): Use unibyte_to_multibyte_table instead of

unibyte_char_to_multibyte.
parent 65366573
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> 2008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
* s/gnu-linux.h: Remove commented out code. * s/gnu-linux.h: Remove commented out code.
......
...@@ -343,7 +343,7 @@ extern unsigned char *_fetch_multibyte_char_p; ...@@ -343,7 +343,7 @@ extern unsigned char *_fetch_multibyte_char_p;
#define FETCH_CHAR_AS_MULTIBYTE(pos) \ #define FETCH_CHAR_AS_MULTIBYTE(pos) \
(!NILP (current_buffer->enable_multibyte_characters) \ (!NILP (current_buffer->enable_multibyte_characters) \
? FETCH_MULTIBYTE_CHAR ((pos)) \ ? 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, /* Macros for accessing a character or byte,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment