aboutsummaryrefslogtreecommitdiffstats
path: root/src/fns.c
diff options
context:
space:
mode:
authorAndreas Schwab2016-01-30 10:39:20 +0100
committerAndreas Schwab2016-01-30 10:39:20 +0100
commitdf5ae7ddab1bd2fbb8a6a4abc05d4922abf8c5db (patch)
tree1b008aaa8b72af6aa6811ae70969d4304b44dbea /src/fns.c
parenta089d6a211c9051e27a78d03d5b323300134bb21 (diff)
downloademacs-df5ae7ddab1bd2fbb8a6a4abc05d4922abf8c5db.tar.gz
emacs-df5ae7ddab1bd2fbb8a6a4abc05d4922abf8c5db.zip
Revert "Re-enable checks in member, memql, delete to complain about non-lists"
This reverts commit f524e8b7f12d9b5a8b92084e5385429fe7b085b9.
Diffstat (limited to 'src/fns.c')
-rw-r--r--src/fns.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fns.c b/src/fns.c
index d1808440966..86ad333702e 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -1349,7 +1349,7 @@ The value is actually the tail of LIST whose car is ELT. */)
1349 (register Lisp_Object elt, Lisp_Object list) 1349 (register Lisp_Object elt, Lisp_Object list)
1350{ 1350{
1351 register Lisp_Object tail; 1351 register Lisp_Object tail;
1352 for (tail = list; !NILP (tail); tail = XCDR (tail)) 1352 for (tail = list; CONSP (tail); tail = XCDR (tail))
1353 { 1353 {
1354 register Lisp_Object tem; 1354 register Lisp_Object tem;
1355 CHECK_LIST_CONS (tail, list); 1355 CHECK_LIST_CONS (tail, list);
@@ -1397,7 +1397,7 @@ The value is actually the tail of LIST whose car is ELT. */)
1397 if (!FLOATP (elt)) 1397 if (!FLOATP (elt))
1398 return Fmemq (elt, list); 1398 return Fmemq (elt, list);
1399 1399
1400 for (tail = list; !NILP (tail); tail = XCDR (tail)) 1400 for (tail = list; CONSP (tail); tail = XCDR (tail))
1401 { 1401 {
1402 register Lisp_Object tem; 1402 register Lisp_Object tem;
1403 CHECK_LIST_CONS (tail, list); 1403 CHECK_LIST_CONS (tail, list);
@@ -1710,7 +1710,7 @@ changing the value of a sequence `foo'. */)
1710 { 1710 {
1711 Lisp_Object tail, prev; 1711 Lisp_Object tail, prev;
1712 1712
1713 for (tail = seq, prev = Qnil; !NILP (tail); tail = XCDR (tail)) 1713 for (tail = seq, prev = Qnil; CONSP (tail); tail = XCDR (tail))
1714 { 1714 {
1715 CHECK_LIST_CONS (tail, seq); 1715 CHECK_LIST_CONS (tail, seq);
1716 1716