summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2023-02-05 15:15:35 +0200
committerEli Zaretskii <eliz@gnu.org>2023-02-05 15:15:35 +0200
commit1dd751c3ac4e4276b461b83df7d9c4d002cf016e (patch)
tree2e79f40392f3631c6d34cbd4bc90525d94888390
parent96181ed3f09b12c7e91ddabab5b02f0ee868fa50 (diff)
downloademacs-1dd751c3ac4e4276b461b83df7d9c4d002cf016e.tar.gz
emacs-1dd751c3ac4e4276b461b83df7d9c4d002cf016e.tar.bz2
emacs-1dd751c3ac4e4276b461b83df7d9c4d002cf016e.zip
; Improve documentation of 'proper-list-p'
* doc/lispref/lists.texi (Cons Cells): Add cross-reference to 'proper-list-p' documentation.
-rw-r--r--doc/lispref/lists.texi5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/lispref/lists.texi b/doc/lispref/lists.texi
index 454fd217ac2..f3758f5ce60 100644
--- a/doc/lispref/lists.texi
+++ b/doc/lispref/lists.texi
@@ -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