summaryrefslogtreecommitdiff
path: root/src/sunfns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sunfns.c')
-rw-r--r--src/sunfns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sunfns.c b/src/sunfns.c
index 1c04f1108a8..336f02221cf 100644
--- a/src/sunfns.c
+++ b/src/sunfns.c
@@ -363,7 +363,7 @@ sun_item_create (Pair)
Lisp_Object String;
Lisp_Object Value;
- if (!CONSP(Pair)) wrong_type_argument(Qlistp, Pair);
+ CHECK_LIST_CONS (Pair, Pair);
String = Fcar(Pair);
CHECK_STRING(String);
Value = Fcdr(Pair);