diff options
author | David Kastrup <dak@gnu.org> | 2007-03-02 08:45:13 +0000 |
---|---|---|
committer | David Kastrup <dak@gnu.org> | 2007-03-02 08:45:13 +0000 |
commit | b9b263874cb7889e955eec5c26b5b5f9094ac4ab (patch) | |
tree | 20fc23f01cd7da2652784b5500716c2e587a5fd9 /src/keymap.c | |
parent | 2c873c4bd582c34ba5697d618ce6332f8dbbd72f (diff) | |
download | emacs-b9b263874cb7889e955eec5c26b5b5f9094ac4ab.tar.gz |
*** empty log message ***
Diffstat (limited to 'src/keymap.c')
-rw-r--r-- | src/keymap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keymap.c b/src/keymap.c index 6b4b8536fe1..dd126a9a8f3 100644 --- a/src/keymap.c +++ b/src/keymap.c @@ -1612,10 +1612,10 @@ specified buffer position instead of point are used. /* 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); } } |