From 4a2fb8bd2b21cf11d08a9585f3d72a61831f6240 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Tue, 27 Sep 1994 03:13:08 +0000 Subject: [PATCH] (EVENT_HAS_PARAMETERS): Use type test macros. --- src/keyboard.h | 3 +-- 1 file changed, 1 insertion(+), 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. */ -- 2.39.5