aboutsummaryrefslogtreecommitdiffstats
path: root/src/fns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fns.c')
-rw-r--r--src/fns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fns.c b/src/fns.c
index 10997da0d46..7d120a90f78 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -718,7 +718,7 @@ concat (ptrdiff_t nargs, Lisp_Object *args,
718 val = make_uninit_string (result_len); 718 val = make_uninit_string (result_len);
719 719
720 /* In `append', if all but last arg are nil, return last arg. */ 720 /* In `append', if all but last arg are nil, return last arg. */
721 if (target_type == Lisp_Cons && EQ (val, Qnil)) 721 if (target_type == Lisp_Cons && NILP (val))
722 return last_tail; 722 return last_tail;
723 723
724 /* Copy the contents of the args into the result. */ 724 /* Copy the contents of the args into the result. */