[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/keymap.c
From: |
Kim F. Storm |
Subject: |
[Emacs-diffs] Changes to emacs/src/keymap.c |
Date: |
Sat, 23 Feb 2002 19:23:20 -0500 |
Index: emacs/src/keymap.c
diff -c emacs/src/keymap.c:1.257 emacs/src/keymap.c:1.258
*** emacs/src/keymap.c:1.257 Sat Feb 23 17:00:37 2002
--- emacs/src/keymap.c Sat Feb 23 19:23:20 2002
***************
*** 1142,1148 ****
if (XINT (c) & 0x80 && STRINGP (key))
XSETINT (c, (XINT (c) | meta_modifier) & ~0x80);
! if (!INTEGERP (c) && !SYMBOLP (c) && !CONSP (c))
error ("Key sequence contains invalid event");
cmd = access_keymap (keymap, c, t_ok, 0, 1);
--- 1142,1150 ----
if (XINT (c) & 0x80 && STRINGP (key))
XSETINT (c, (XINT (c) | meta_modifier) & ~0x80);
! /* Allow string since binding for `menu-bar-select-buffer'
! includes the buffer name in the key sequence. */
! if (!INTEGERP (c) && !SYMBOLP (c) && !CONSP (c) && !STRINGP (c))
error ("Key sequence contains invalid event");
cmd = access_keymap (keymap, c, t_ok, 0, 1);