From 1dd751c3ac4e4276b461b83df7d9c4d002cf016e Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 5 Feb 2023 15:15:35 +0200 Subject: [PATCH] ; Improve documentation of 'proper-list-p' * doc/lispref/lists.texi (Cons Cells): Add cross-reference to 'proper-list-p' documentation. --- doc/lispref/lists.texi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.39.5