projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09e82d7
)
(EVENT_HAS_PARAMETERS): Use type test macros.
author
Karl Heuer
<kwzh@gnu.org>
Tue, 27 Sep 1994 03:13:08 +0000
(
03:13
+0000)
committer
Karl Heuer
<kwzh@gnu.org>
Tue, 27 Sep 1994 03:13:08 +0000
(
03:13
+0000)
src/keyboard.h
patch
|
blob
|
history
diff --git
a/src/keyboard.h
b/src/keyboard.h
index 52e6c1d54f56cc6b50ee8b08a6ea9f1c9e35c3db..feacedd63886e1781d8330be7c5f6bed1095c403 100644
(file)
--- 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. */