summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2012-10-30 01:03:22 -0700
committerGlenn Morris <rgm@gnu.org>2012-10-30 01:03:22 -0700
commitf43a5263c18258ab05d057881fa6b8795e65295a (patch)
tree935740db6a838b6001e4cbdd3e8f8f88bd09d4df /lisp
parent516e1a08ce36fca220a0eaead731d3fe2d3bb271 (diff)
downloademacs-f43a5263c18258ab05d057881fa6b8795e65295a.tar.gz
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 'lisp')
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/emacs-lisp/cl-extra.el3
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index c5c3b93d195..bd535894cdf 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
2012-10-30 Glenn Morris <rgm@gnu.org>
+ * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
+
* emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
2012-10-29 Chong Yidong <cyd@gnu.org>
diff --git a/lisp/emacs-lisp/cl-extra.el b/lisp/emacs-lisp/cl-extra.el
index 913ebf2015f..c72e3342648 100644
--- a/lisp/emacs-lisp/cl-extra.el
+++ b/lisp/emacs-lisp/cl-extra.el
@@ -149,8 +149,9 @@ the elements themselves.
(setq cl-list (cdr cl-list)))
(nreverse cl-res))))
+;;;###autoload
(defun cl-mapc (cl-func cl-seq &rest cl-rest)
- "Like `mapcar', but does not accumulate values returned by the function.
+ "Like `cl-mapcar', but does not accumulate values returned by the function.
\n(fn FUNCTION SEQUENCE...)"
(if cl-rest
(progn (apply 'cl-map nil cl-func cl-seq cl-rest)