diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/keyboard.h b/src/keyboard.h index 52e6c1d54f5..feacedd6388 100644 --- a/src/keyboard.h +++ b/src/keyboard.h | |||
| @@ -53,8 +53,7 @@ extern Lisp_Object internal_last_event_frame; | |||
| 53 | /* Macros for dealing with lispy events. */ | 53 | /* Macros for dealing with lispy events. */ |
| 54 | 54 | ||
| 55 | /* True iff EVENT has data fields describing it (i.e. a mouse click). */ | 55 | /* True iff EVENT has data fields describing it (i.e. a mouse click). */ |
| 56 | #define EVENT_HAS_PARAMETERS(event) \ | 56 | #define EVENT_HAS_PARAMETERS(event) (CONSP (event)) |
| 57 | (XTYPE (event) == Lisp_Cons) | ||
| 58 | 57 | ||
| 59 | /* Extract the head from an event. | 58 | /* Extract the head from an event. |
| 60 | This works on composite and simple events. */ | 59 | This works on composite and simple events. */ |