emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 10af989: Fix (length CIRCULAR) documentation


From: Paul Eggert
Subject: [Emacs-diffs] emacs-26 10af989: Fix (length CIRCULAR) documentation
Date: Fri, 6 Jul 2018 14:00:28 -0400 (EDT)

branch: emacs-26
commit 10af9890240d45048cf4553aa731acdb32f7251a
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    Fix (length CIRCULAR) documentation
    
    * doc/lispref/sequences.texi (Sequence Functions):
    Correct documentation of what (length X) does when
    X is a circular list.
---
 doc/lispref/sequences.texi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/lispref/sequences.texi b/doc/lispref/sequences.texi
index 76a4a46..59faf2b 100644
--- a/doc/lispref/sequences.texi
+++ b/doc/lispref/sequences.texi
@@ -75,9 +75,9 @@ string, bool-vector, or char-table, @code{nil} otherwise.
 @anchor{Definition of length}
 This function returns the number of elements in @var{sequence}.  If
 @var{sequence} is a dotted list, a @code{wrong-type-argument} error is
-signaled.  Circular lists may cause an infinite loop.  For a
-char-table, the value returned is always one more than the maximum
-Emacs character code.
+signaled; if it is a circular list, a @code{circular-list} error is
+signaled.  For a char-table, the value returned is always one more
+than the maximum Emacs character code.
 
 @xref{Definition of safe-length}, for the related function @code{safe-length}.
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]