summaryrefslogtreecommitdiff
path: root/doc/lispref/sequences.texi
diff options
context:
space:
mode:
authorNicolas Petton <nicolas@petton.fr>2015-11-11 18:18:32 +0100
committerNicolas Petton <nicolas@petton.fr>2015-11-11 18:20:03 +0100
commit51d840a8a13105172211bb25d36f594aff377d8e (patch)
tree6097c4aef0d11639fb4124e4ec0a17960ca18b6d /doc/lispref/sequences.texi
parent23036bac7d470397f364d02eb992d701f1ebab4b (diff)
downloademacs-51d840a8a13105172211bb25d36f594aff377d8e.tar.gz
Rename seq-p and map-p to seqp and mapp
* lisp/emacs-lisp/seq.el (seqp): New name. * lisp/emacs-lisp/map.el (mapp): New name. * doc/lispref/sequences.texi: Update the documentation for seqp. * test/automated/map-tests.el: Update the tests for mapp.
Diffstat (limited to 'doc/lispref/sequences.texi')
-rw-r--r--doc/lispref/sequences.texi6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/lispref/sequences.texi b/doc/lispref/sequences.texi
index 84a7c325424..66d88e49411 100644
--- a/doc/lispref/sequences.texi
+++ b/doc/lispref/sequences.texi
@@ -467,18 +467,18 @@ built-in sequence types, @code{seq-length} behaves like @code{length}.
@xref{Definition of length}.
@end defun
-@defun seq-p sequence
+@defun seqp sequence
This function returns non-@code{nil} if @var{sequence} is a sequence
(a list or array), or any additional type of sequence defined via
@file{seq.el} generic functions.
@example
@group
-(seq-p [1 2])
+(seqp [1 2])
@result{} t
@end group
@group
-(seq-p 2)
+(seqp 2)
@result{} nil
@end group
@end example