aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keymap.c b/src/keymap.c
index 4062ff34ee9..99883415914 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -1240,7 +1240,7 @@ recognize the default bindings, just as `read-key-sequence' does. */)
1240 c = Fevent_convert_list (c); 1240 c = Fevent_convert_list (c);
1241 1241
1242 /* Turn the 8th bit of string chars into a meta modifier. */ 1242 /* Turn the 8th bit of string chars into a meta modifier. */
1243 if (XINT (c) & 0x80 && STRINGP (key)) 1243 if (INTEGERP (c) && XINT (c) & 0x80 && STRINGP (key))
1244 XSETINT (c, (XINT (c) | meta_modifier) & ~0x80); 1244 XSETINT (c, (XINT (c) | meta_modifier) & ~0x80);
1245 1245
1246 /* Allow string since binding for `menu-bar-select-buffer' 1246 /* Allow string since binding for `menu-bar-select-buffer'