Fix (length CIRCULAR) documentation

* doc/lispref/sequences.texi (Sequence Functions):
Correct documentation of what (length X) does when
X is a circular list.
This commit is contained in:
Paul Eggert 2018-07-06 10:59:53 -07:00
parent 271d1f778e
commit 10af989024

View file

@ -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}.