Mercurial > emacs
diff src/buffer.h @ 91696:31222e6bb42e
(FETCH_CHAR_AS_MULTIBYTE): Use unibyte_to_multibyte_table instead of
unibyte_char_to_multibyte.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 09 Feb 2008 10:52:36 +0000 |
parents | 431b8edb4f39 |
children | b4aeed11a1d7 |
line wrap: on
line diff
--- a/src/buffer.h Sat Feb 09 09:51:11 2008 +0000 +++ b/src/buffer.h Sat Feb 09 10:52:36 2008 +0000 @@ -343,7 +343,7 @@ #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,