HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bc285a
)
(Flookup_key): Check INTEGERP before XINT.
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Tue, 23 Nov 2004 05:08:09 +0000
(
05:08
+0000)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Tue, 23 Nov 2004 05:08:09 +0000
(
05:08
+0000)
src/keymap.c
patch
|
blob
|
blame
|
history
diff --git
a/src/keymap.c
b/src/keymap.c
index
4062ff3
..
9988341
100644
(file)
--- a/
src/keymap.c
+++ b/
src/keymap.c
@@
-1240,7
+1240,7
@@
recognize the default bindings, just as `read-key-sequence' does. */)
c = Fevent_convert_list (c);
/* Turn the 8th bit of string chars into a meta modifier. */
- if (XINT (c) & 0x80 && STRINGP (key))
+ if (
INTEGERP (c) &&
XINT (c) & 0x80 && STRINGP (key))
XSETINT (c, (XINT (c) | meta_modifier) & ~0x80);
/* Allow string since binding for `menu-bar-select-buffer'