aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.h
diff options
context:
space:
mode:
authorEli Zaretskii2008-02-09 10:53:10 +0000
committerEli Zaretskii2008-02-09 10:53:10 +0000
commit274ec34ba75f27858c1fe0f125493b3bb40bf42a (patch)
treec2b744f5dd0a1e98f303ccb852ede39dbbd77c0c /src/buffer.h
parent65366573528cb560edbce596476364462004f664 (diff)
downloademacs-274ec34ba75f27858c1fe0f125493b3bb40bf42a.tar.gz
emacs-274ec34ba75f27858c1fe0f125493b3bb40bf42a.zip
(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;
343#define FETCH_CHAR_AS_MULTIBYTE(pos) \ 343#define FETCH_CHAR_AS_MULTIBYTE(pos) \
344 (!NILP (current_buffer->enable_multibyte_characters) \ 344 (!NILP (current_buffer->enable_multibyte_characters) \
345 ? FETCH_MULTIBYTE_CHAR ((pos)) \ 345 ? FETCH_MULTIBYTE_CHAR ((pos)) \
346 : unibyte_char_to_multibyte (FETCH_BYTE ((pos)))) 346 : unibyte_to_multibyte_table[(FETCH_BYTE ((pos)))])
347 347
348 348
349/* Macros for accessing a character or byte, 349/* Macros for accessing a character or byte,