From: Karl Heuer Date: Tue, 27 Sep 1994 03:13:08 +0000 (+0000) Subject: (EVENT_HAS_PARAMETERS): Use type test macros. X-Git-Tag: emacs-19.34~6713 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4a2fb8bd2b21cf11d08a9585f3d72a61831f6240;p=emacs.git (EVENT_HAS_PARAMETERS): Use type test macros. --- 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. */