diff options
| author | Andreas Schwab | 2016-01-30 10:39:20 +0100 |
|---|---|---|
| committer | Andreas Schwab | 2016-01-30 10:39:20 +0100 |
| commit | df5ae7ddab1bd2fbb8a6a4abc05d4922abf8c5db (patch) | |
| tree | 1b008aaa8b72af6aa6811ae70969d4304b44dbea /src/fns.c | |
| parent | a089d6a211c9051e27a78d03d5b323300134bb21 (diff) | |
| download | emacs-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.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -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 | ||