Add delq list arg check

* src/fns.c (Fdelq): Check that list is a proper list.
This is more compatible with what ‘delete’ does.
This commit is contained in:
Paul Eggert 2017-01-28 16:45:56 -08:00
parent 499780daef
commit 1056be0b3c

View file

@ -1589,6 +1589,7 @@ argument. */)
else
prev = tail;
}
CHECK_LIST_END (tail, list);
return list;
}