; Improve documentation of 'proper-list-p'

* doc/lispref/lists.texi (Cons Cells): Add cross-reference
to 'proper-list-p' documentation.
This commit is contained in:
Eli Zaretskii 2023-02-05 15:15:35 +02:00
parent 96181ed3f0
commit 1dd751c3ac

View file

@ -79,7 +79,10 @@ circular or dotted. If a program doesn't look far enough down the
list to see the @sc{cdr} of the final cons cell, it won't care.
However, some functions that operate on lists demand proper lists and
signal errors if given a dotted list. Most functions that try to find
the end of a list enter infinite loops if given a circular list.
the end of a list enter infinite loops if given a circular list. You
can use the function @code{proper-list-p}, described in the next
section (@pxref{List-related Predicates, proper-list-p}), to determine
whether a list is a proper one.
@cindex list structure
Because most cons cells are used as part of lists, we refer to any