diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/keymap.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/keymap.c b/src/keymap.c index ed84063bcd3..1b2336562f2 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -616,6 +616,9 @@ the front of KEYMAP.") | |||
| 616 | idx++; | 616 | idx++; |
| 617 | } | 617 | } |
| 618 | 618 | ||
| 619 | if (! INTEGERP (c) && ! SYMBOLP (c) && ! CONSP (c)) | ||
| 620 | error ("Key sequence contains illegal events"); | ||
| 621 | |||
| 619 | if (idx == length) | 622 | if (idx == length) |
| 620 | RETURN_UNGCPRO (store_in_keymap (keymap, c, def)); | 623 | RETURN_UNGCPRO (store_in_keymap (keymap, c, def)); |
| 621 | 624 | ||