From: Paul Eggert Date: Sun, 29 Jan 2017 00:45:56 +0000 (-0800) Subject: Add delq list arg check X-Git-Tag: emacs-26.0.90~858^2~53 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1056be0b3c6f7f6732bd6f31f78d3a7e1a41f2c2;p=emacs.git Add delq list arg check * src/fns.c (Fdelq): Check that list is a proper list. This is more compatible with what ‘delete’ does. --- diff --git a/src/fns.c b/src/fns.c index 0d93f824748..136a2198c2c 100644 --- a/src/fns.c +++ b/src/fns.c @@ -1589,6 +1589,7 @@ argument. */) else prev = tail; } + CHECK_LIST_END (tail, list); return list; }