Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
274ec34b
Commit
274ec34b
authored
Feb 09, 2008
by
Eli Zaretskii
Browse files
(FETCH_CHAR_AS_MULTIBYTE): Use unibyte_to_multibyte_table instead of
unibyte_char_to_multibyte.
parent
65366573
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
src/ChangeLog
src/ChangeLog
+5
-0
src/buffer.h
src/buffer.h
+1
-1
No files found.
src/ChangeLog
View file @
274ec34b
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>
* s/gnu-linux.h: Remove commented out code.
...
...
src/buffer.h
View file @
274ec34b
...
...
@@ -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,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment