summaryrefslogtreecommitdiff
path: root/src/buffer.h
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2008-02-09 10:53:10 +0000
committerEli Zaretskii <eliz@gnu.org>2008-02-09 10:53:10 +0000
commit274ec34ba75f27858c1fe0f125493b3bb40bf42a (patch)
treec2b744f5dd0a1e98f303ccb852ede39dbbd77c0c /src/buffer.h
parent65366573528cb560edbce596476364462004f664 (diff)
downloademacs-274ec34ba75f27858c1fe0f125493b3bb40bf42a.tar.gz
(FETCH_CHAR_AS_MULTIBYTE): Use unibyte_to_multibyte_table instead of
unibyte_char_to_multibyte.
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.h b/src/buffer.h
index 8345c8fa06f..1124f607bda 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -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,