projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
330cf23
)
(sun_item_create): Use type test macros.
author
Karl Heuer
<kwzh@gnu.org>
Tue, 27 Sep 1994 01:21:05 +0000
(
01:21
+0000)
committer
Karl Heuer
<kwzh@gnu.org>
Tue, 27 Sep 1994 01:21:05 +0000
(
01:21
+0000)
src/sunfns.c
patch
|
blob
|
history
diff --git
a/src/sunfns.c
b/src/sunfns.c
index 6112fbae2b4f6963f060c7e223d6f19432dd7145..57c3e64a3a4fb0677dc0e9390bd9f03d1c853bf1 100644
(file)
--- a/
src/sunfns.c
+++ b/
src/sunfns.c
@@
-364,9
+364,9
@@
sun_item_create (Pair)
String = Fcar(Pair);
CHECK_STRING(String, 0);
Value = Fcdr(Pair);
- if
(XTYPE(Value) == Lisp_Symbol
)
+ if
(SYMBOLP (Value)
)
Value = XSYMBOL(Value)->value;
- if
(XTYPE(Value) == Lisp_Vector
) {
+ if
(VECTORP (Value)
) {
submenu = sun_menu_create (Value);
menu_item = menu_create_item
(MENU_RELEASE, MENU_PULLRIGHT_ITEM, XSTRING(String)->data, submenu, 0);