diff options
Diffstat (limited to 'src/fns.c')
| -rw-r--r-- | src/fns.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -1370,7 +1370,7 @@ The value is actually the tail of LIST whose car is ELT. */) | |||
| 1370 | Lisp_Object list; | 1370 | Lisp_Object list; |
| 1371 | { | 1371 | { |
| 1372 | register Lisp_Object tail; | 1372 | register Lisp_Object tail; |
| 1373 | for (tail = list; !NILP (tail); tail = XCDR (tail)) | 1373 | for (tail = list; CONSP (tail); tail = XCDR (tail)) |
| 1374 | { | 1374 | { |
| 1375 | register Lisp_Object tem; | 1375 | register Lisp_Object tem; |
| 1376 | CHECK_LIST_CONS (tail, list); | 1376 | CHECK_LIST_CONS (tail, list); |
| @@ -1421,7 +1421,7 @@ The value is actually the tail of LIST whose car is ELT. */) | |||
| 1421 | if (!FLOATP (elt)) | 1421 | if (!FLOATP (elt)) |
| 1422 | return Fmemq (elt, list); | 1422 | return Fmemq (elt, list); |
| 1423 | 1423 | ||
| 1424 | for (tail = list; !NILP (tail); tail = XCDR (tail)) | 1424 | for (tail = list; CONSP (tail); tail = XCDR (tail)) |
| 1425 | { | 1425 | { |
| 1426 | register Lisp_Object tem; | 1426 | register Lisp_Object tem; |
| 1427 | CHECK_LIST_CONS (tail, list); | 1427 | CHECK_LIST_CONS (tail, list); |
| @@ -1741,7 +1741,7 @@ to be sure of changing the value of `foo'. */) | |||
| 1741 | { | 1741 | { |
| 1742 | Lisp_Object tail, prev; | 1742 | Lisp_Object tail, prev; |
| 1743 | 1743 | ||
| 1744 | for (tail = seq, prev = Qnil; !NILP (tail); tail = XCDR (tail)) | 1744 | for (tail = seq, prev = Qnil; CONSP (tail); tail = XCDR (tail)) |
| 1745 | { | 1745 | { |
| 1746 | CHECK_LIST_CONS (tail, seq); | 1746 | CHECK_LIST_CONS (tail, seq); |
| 1747 | 1747 | ||