From: Eli Zaretskii Date: Sun, 5 Feb 2023 13:15:35 +0000 (+0200) Subject: ; Improve documentation of 'proper-list-p' X-Git-Tag: emacs-29.0.90~507 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1dd751c3ac4;p=emacs.git ; Improve documentation of 'proper-list-p' * doc/lispref/lists.texi (Cons Cells): Add cross-reference to 'proper-list-p' documentation. --- 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