Mercurial > emacs
changeset 58450:277e7a013eb6
(Flookup_key): Check INTEGERP before XINT.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Tue, 23 Nov 2004 05:08:09 +0000 |
parents | 377948a6af9a |
children | 4fcc66cf0b9c |
files | src/keymap.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/keymap.c Tue Nov 23 05:06:56 2004 +0000 +++ b/src/keymap.c Tue Nov 23 05:08:09 2004 +0000 @@ -1240,7 +1240,7 @@ 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'