diff options
author | Glenn Morris <rgm@gnu.org> | 2012-10-30 01:03:22 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2012-10-30 01:03:22 -0700 |
commit | f43a5263c18258ab05d057881fa6b8795e65295a (patch) | |
tree | 935740db6a838b6001e4cbdd3e8f8f88bd09d4df /lisp/emacs-lisp/cl-extra.el | |
parent | 516e1a08ce36fca220a0eaead731d3fe2d3bb271 (diff) | |
download | emacs-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/emacs-lisp/cl-extra.el')
-rw-r--r-- | lisp/emacs-lisp/cl-extra.el | 3 |
1 files changed, 2 insertions, 1 deletions
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) |