summaryrefslogtreecommitdiff
path: root/src/keyboard.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/keyboard.h')
-rw-r--r--src/keyboard.h3
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;
/* Macros for dealing with lispy events. */
/* True iff EVENT has data fields describing it (i.e. a mouse click). */
-#define EVENT_HAS_PARAMETERS(event) \
- (XTYPE (event) == Lisp_Cons)
+#define EVENT_HAS_PARAMETERS(event) (CONSP (event))
/* Extract the head from an event.
This works on composite and simple events. */