diff options
author | Karl Heuer <kwzh@gnu.org> | 1994-09-27 03:13:08 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1994-09-27 03:13:08 +0000 |
commit | 5caef586c31c68bc8855fe5d1a225ec585c805ef (patch) | |
tree | 1161f2ea7dd916798ad5128c9b3ba0ef8718e9b0 | |
parent | b99c39339fe2e1a7f9ace2bd91450df925d23313 (diff) | |
download | emacs-5caef586c31c68bc8855fe5d1a225ec585c805ef.tar.gz |
(EVENT_HAS_PARAMETERS): Use type test macros.
-rw-r--r-- | src/keyboard.h | 3 |
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. */ |