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
c0dc8f64
Commit
c0dc8f64
authored
Jun 05, 2008
by
Stefan Monnier
Browse files
(MAKE_CHAR_MULTIBYTE): Check the arg is a (uni)byte.
parent
8ba31f36
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
src/ChangeLog
src/ChangeLog
+2
-0
src/character.h
src/character.h
+2
-1
No files found.
src/ChangeLog
View file @
c0dc8f64
2008-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
* character.h (MAKE_CHAR_MULTIBYTE): Check the arg is a (uni)byte.
* keymap.c (Vminibuffer_local_filename_must_match_map):
Rename from Vminibuffer_local_must_match_filename_map.
(syms_of_keymap):
...
...
src/character.h
View file @
c0dc8f64
...
...
@@ -95,7 +95,8 @@ extern char unibyte_has_multibyte_table[256];
/* If C is not ASCII, make it multibyte. It assumes C < 256. */
#define MAKE_CHAR_MULTIBYTE(c) ((c) = unibyte_to_multibyte_table[(c)])
#define MAKE_CHAR_MULTIBYTE(c) \
(eassert ((c) >= 0 && (c) < 256), (c) = unibyte_to_multibyte_table[(c)])
/* This is the maximum byte length of multibyte form. */
#define MAX_MULTIBYTE_LENGTH 5
...
...
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