changeset 9141:e309bb9ccdc0

(EVENT_HAS_PARAMETERS): Use type test macros.
author Karl Heuer <kwzh@gnu.org>
date Tue, 27 Sep 1994 03:13:08 +0000
parents 3e7833a8e16f
children d67be35351e5
files src/keyboard.h
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.h	Tue Sep 27 03:12:28 1994 +0000
+++ b/src/keyboard.h	Tue Sep 27 03:13:08 1994 +0000
@@ -53,8 +53,7 @@
 /* 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.  */