diff options
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 671801fa1ba..abf934908cc 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -1645,10 +1645,10 @@ specified buffer position instead of point are used. | |||
| 1645 | 1645 | ||
| 1646 | /* We are not interested in locations without event data */ | 1646 | /* We are not interested in locations without event data */ |
| 1647 | 1647 | ||
| 1648 | if (EVENT_HAS_PARAMETERS (event)) | 1648 | if (EVENT_HAS_PARAMETERS (event) && CONSP (XCDR (event))) |
| 1649 | { | 1649 | { |
| 1650 | Lisp_Object kind = EVENT_HEAD_KIND (EVENT_HEAD (event)); | 1650 | Lisp_Object kind = EVENT_HEAD_KIND (EVENT_HEAD (event)); |
| 1651 | if (CONSP (XCDR (event)) && EQ (kind, Qmouse_click)) | 1651 | if (EQ (kind, Qmouse_click)) |
| 1652 | position = EVENT_START (event); | 1652 | position = EVENT_START (event); |
| 1653 | } | 1653 | } |
| 1654 | } | 1654 | } |