aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/buffer.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 52ed2dbe02c..5ee3586885a 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12008-02-09 Eli Zaretskii <eliz@gnu.org>
2
3 * buffer.h (FETCH_CHAR_AS_MULTIBYTE): Use unibyte_to_multibyte_table
4 instead of unibyte_char_to_multibyte.
5
12008-02-09 Dan Nicolaescu <dann@ics.uci.edu> 62008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
2 7
3 * s/gnu-linux.h: Remove commented out code. 8 * s/gnu-linux.h: Remove commented out code.
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,