diff options
| author | Paul Eggert | 2018-07-06 10:59:53 -0700 |
|---|---|---|
| committer | Paul Eggert | 2018-07-06 11:00:22 -0700 |
| commit | 10af9890240d45048cf4553aa731acdb32f7251a (patch) | |
| tree | b31e78589bfea59dd3e267178db909f16e2bfab5 /doc | |
| parent | 271d1f778e76ed086d932223af889f1a210873f1 (diff) | |
| download | emacs-10af9890240d45048cf4553aa731acdb32f7251a.tar.gz emacs-10af9890240d45048cf4553aa731acdb32f7251a.zip | |
Fix (length CIRCULAR) documentation
* doc/lispref/sequences.texi (Sequence Functions):
Correct documentation of what (length X) does when
X is a circular list.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/sequences.texi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/lispref/sequences.texi b/doc/lispref/sequences.texi index 76a4a468880..59faf2b4f1e 100644 --- a/doc/lispref/sequences.texi +++ b/doc/lispref/sequences.texi | |||
| @@ -75,9 +75,9 @@ string, bool-vector, or char-table, @code{nil} otherwise. | |||
| 75 | @anchor{Definition of length} | 75 | @anchor{Definition of length} |
| 76 | This function returns the number of elements in @var{sequence}. If | 76 | This function returns the number of elements in @var{sequence}. If |
| 77 | @var{sequence} is a dotted list, a @code{wrong-type-argument} error is | 77 | @var{sequence} is a dotted list, a @code{wrong-type-argument} error is |
| 78 | signaled. Circular lists may cause an infinite loop. For a | 78 | signaled; if it is a circular list, a @code{circular-list} error is |
| 79 | char-table, the value returned is always one more than the maximum | 79 | signaled. For a char-table, the value returned is always one more |
| 80 | Emacs character code. | 80 | than the maximum Emacs character code. |
| 81 | 81 | ||
| 82 | @xref{Definition of safe-length}, for the related function @code{safe-length}. | 82 | @xref{Definition of safe-length}, for the related function @code{safe-length}. |
| 83 | 83 | ||