aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
authorGlenn Morris2012-10-30 01:03:22 -0700
committerGlenn Morris2012-10-30 01:03:22 -0700
commitf43a5263c18258ab05d057881fa6b8795e65295a (patch)
tree935740db6a838b6001e4cbdd3e8f8f88bd09d4df /doc/misc
parent516e1a08ce36fca220a0eaead731d3fe2d3bb271 (diff)
downloademacs-f43a5263c18258ab05d057881fa6b8795e65295a.tar.gz
emacs-f43a5263c18258ab05d057881fa6b8795e65295a.zip
cl-mapc small fixes
* lisp/emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix. * doc/misc/cl.texi (Mapping over Sequences): Mention cl-mapc naming oddity.
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/ChangeLog1
-rw-r--r--doc/misc/cl.texi8
2 files changed, 7 insertions, 2 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index fa58cd958db..941c430ce74 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -5,6 +5,7 @@
5 (Setf Extensions): Partially restore note about cl-getf, 5 (Setf Extensions): Partially restore note about cl-getf,
6 mainly moved to lispref/variables.texi. 6 mainly moved to lispref/variables.texi.
7 (Property Lists): Fix cl-getf typos. 7 (Property Lists): Fix cl-getf typos.
8 (Mapping over Sequences): Mention cl-mapc naming oddity.
8 9
92012-10-29 Glenn Morris <rgm@gnu.org> 102012-10-29 Glenn Morris <rgm@gnu.org>
10 11
diff --git a/doc/misc/cl.texi b/doc/misc/cl.texi
index 4105ac349ec..8cee1cf9639 100644
--- a/doc/misc/cl.texi
+++ b/doc/misc/cl.texi
@@ -199,6 +199,8 @@ because they are replaced by other standard Emacs Lisp features.
199Finally, in a very few cases the old @file{cl.el} versions do not 199Finally, in a very few cases the old @file{cl.el} versions do not
200behave in exactly the same way as the @file{cl-lib.el} versions. 200behave in exactly the same way as the @file{cl-lib.el} versions.
201@xref{Obsolete Features}. 201@xref{Obsolete Features}.
202@c There is also cl-mapc, which was called cl-mapc even before cl-lib.el.
203@c But not autoloaded, so maybe not much used?
202 204
203Since the old @file{cl.el} does not use a clean namespace, Emacs has a 205Since the old @file{cl.el} does not use a clean namespace, Emacs has a
204policy that packages distributed with Emacs must not load @code{cl} at 206policy that packages distributed with Emacs must not load @code{cl} at
@@ -3309,13 +3311,15 @@ that it passes in the list pointers themselves rather than the
3309@code{car}s of the advancing pointers. 3311@code{car}s of the advancing pointers.
3310@end defun 3312@end defun
3311 3313
3312@c FIXME does not exist?
3313@defun cl-mapc function seq &rest more-seqs 3314@defun cl-mapc function seq &rest more-seqs
3314This function is like @code{cl-mapcar}, except that the values returned 3315This function is like @code{cl-mapcar}, except that the values returned
3315by @var{function} are ignored and thrown away rather than being 3316by @var{function} are ignored and thrown away rather than being
3316collected into a list. The return value of @code{cl-mapc} is @var{seq}, 3317collected into a list. The return value of @code{cl-mapc} is @var{seq},
3317the first sequence. This function is more general than the Emacs 3318the first sequence. This function is more general than the Emacs
3318primitive @code{mapc}. 3319primitive @code{mapc}. (Note that this function is called
3320@code{cl-mapc} even in @file{cl.el}, rather than @code{map*} as you
3321might expect.)
3322@c http://debbugs.gnu.org/6575
3319@end defun 3323@end defun
3320 3324
3321@defun cl-mapl function list &rest more-lists 3325@defun cl-mapl function list &rest more-lists