Mercurial > emacs
changeset 76269:54d760abd1c5
*** empty log message ***
author | David Kastrup <dak@gnu.org> |
---|---|
date | Fri, 02 Mar 2007 08:45:13 +0000 |
parents | 2fb154fe6599 |
children | 23d1813e04ed |
files | src/ChangeLog src/keymap.c |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Fri Mar 02 01:51:45 2007 +0000 +++ b/src/ChangeLog Fri Mar 02 08:45:13 2007 +0000 @@ -1,3 +1,8 @@ +2007-03-02 Stuart D. Herring <herring@lanl.gov> + + * keymap.c (Fkey_binding): Don't consider two-element lists as + events. + 2007-03-01 Kenichi Handa <handa@m17n.org> * process.c (send_process_object): Check the process status and
--- a/src/keymap.c Fri Mar 02 01:51:45 2007 +0000 +++ b/src/keymap.c Fri Mar 02 08:45:13 2007 +0000 @@ -1612,10 +1612,10 @@ /* We are not interested in locations without event data */ - if (EVENT_HAS_PARAMETERS (event)) + if (EVENT_HAS_PARAMETERS (event) && CONSP (XCDR (event))) { Lisp_Object kind = EVENT_HEAD_KIND (EVENT_HEAD (event)); - if (CONSP (XCDR (event)) && EQ (kind, Qmouse_click)) + if (EQ (kind, Qmouse_click)) position = EVENT_START (event); } }