mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-27 07:41:28 -08:00
(Fdefine_key): Yet another int/Lisp_Object mixup (YAILOM).
This commit is contained in:
parent
fa601de5de
commit
7ae8428d90
2 changed files with 5 additions and 1 deletions
|
|
@ -1,3 +1,7 @@
|
|||
2006-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* keymap.c (Fdefine_key): Yet another int/Lisp_Object mixup (YAILOM).
|
||||
|
||||
2006-09-26 Chong Yidong <cyd@stupidchicken.com>
|
||||
|
||||
* indent.c (Fvertical_motion): Do move back if the Lisp string
|
||||
|
|
|
|||
|
|
@ -1156,7 +1156,7 @@ binding KEY to DEF is added at the front of KEYMAP. */)
|
|||
|
||||
meta_bit = VECTORP (key) ? meta_modifier : 0x80;
|
||||
|
||||
if (VECTORP (def) && ASIZE (def) > 0 && CONSP (AREF (def, make_number (0))))
|
||||
if (VECTORP (def) && ASIZE (def) > 0 && CONSP (AREF (def, 0)))
|
||||
{ /* DEF is apparently an XEmacs-style keyboard macro. */
|
||||
Lisp_Object tmp = Fmake_vector (make_number (ASIZE (def)), Qnil);
|
||||
int i = ASIZE (def);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue