summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNoam Postavsky <npostavs@gmail.com>2018-07-09 20:03:30 -0400
committerNoam Postavsky <npostavs@gmail.com>2018-07-09 20:03:30 -0400
commit7bcb697e198cb314980b93862a79e892009088c4 (patch)
tree17f30ba3b4aa4f1e4e31dde58139a5ec0ae82080 /doc
parent3307353e13a9226d477c9b1a39baae76584b90b9 (diff)
parent65889a6d127fcbbbdc1e74d26036e91bd24d1405 (diff)
downloademacs-7bcb697e198cb314980b93862a79e892009088c4.tar.gz
Merge from emacs-26
65889a6d12 Fix bootstrap infloop in GNU/Linux alpha 48efd1c98b Minor fix of a recent documentation change 3302b7cd7f Mention the NSM in the gnutls variable doc strings 40c2ce743b Remove test code from last commit e02d8e29c6 Fix Bug#32084 da5d6dbe39 Fix (length NON-SEQUENCE) documentation
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/sequences.texi12
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/lispref/sequences.texi b/doc/lispref/sequences.texi
index 777b1cbbffb..b98889eb099 100644
--- a/doc/lispref/sequences.texi
+++ b/doc/lispref/sequences.texi
@@ -71,13 +71,15 @@ string, bool-vector, or char-table, @code{nil} otherwise.
@cindex list length
@cindex vector length
@cindex sequence length
+@cindex bool-vector length
@cindex char-table length
@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; 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.
+This function returns the number of elements in @var{sequence}. The
+function signals the @code{wrong-type-argument} error if the argument
+is not a sequence or is a dotted list; it signals the
+@code{circular-list} error if the argument is a circular list. 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}.