Mercurial > emacs
changeset 73152:645da5a91b56
(Fdefine_key): Yet another int/Lisp_Object mixup (YAILOM).
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Thu, 28 Sep 2006 19:00:10 +0000 |
parents | 6f8deac73242 |
children | d18b30d3454b |
files | src/ChangeLog src/keymap.c |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Thu Sep 28 18:45:58 2006 +0000 +++ b/src/ChangeLog Thu Sep 28 19:00:10 2006 +0000 @@ -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
--- a/src/keymap.c Thu Sep 28 18:45:58 2006 +0000 +++ b/src/keymap.c Thu Sep 28 19:00:10 2006 +0000 @@ -1156,7 +1156,7 @@ 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);