projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.pre8.3
[sbcl.git]
/
src
/
code
/
list.lisp
diff --git
a/src/code/list.lisp
b/src/code/list.lisp
index
8bc2a88
..
762561c
100644
(file)
--- a/
src/code/list.lisp
+++ b/
src/code/list.lisp
@@
-394,7
+394,7
@@
(defun nreconc (x y)
#!+sb-doc
"Return (NCONC (NREVERSE X) Y)."
(defun nreconc (x y)
#!+sb-doc
"Return (NCONC (NREVERSE X) Y)."
- (do ((1st (cdr x) (if (atom 1st) 1st (cdr 1st)))
+ (do ((1st (cdr x) (if (endp 1st) 1st (cdr 1st)))
(2nd x 1st) ;2nd follows first down the list.
(3rd y 2nd)) ;3rd follows 2nd down the list.
((atom 2nd) 3rd)
(2nd x 1st) ;2nd follows first down the list.
(3rd y 2nd)) ;3rd follows 2nd down the list.
((atom 2nd) 3rd)