Mercurial > emacs
diff src/keyboard.h @ 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 | 0334c1b51e87 |
| children | 3b1d5cf74c93 |
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. */
