diff options
| author | Glenn Morris | 2012-10-30 01:03:22 -0700 |
|---|---|---|
| committer | Glenn Morris | 2012-10-30 01:03:22 -0700 |
| commit | f43a5263c18258ab05d057881fa6b8795e65295a (patch) | |
| tree | 935740db6a838b6001e4cbdd3e8f8f88bd09d4df /doc/misc | |
| parent | 516e1a08ce36fca220a0eaead731d3fe2d3bb271 (diff) | |
| download | emacs-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/ChangeLog | 1 | ||||
| -rw-r--r-- | doc/misc/cl.texi | 8 |
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 | ||
| 9 | 2012-10-29 Glenn Morris <rgm@gnu.org> | 10 | 2012-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. | |||
| 199 | Finally, in a very few cases the old @file{cl.el} versions do not | 199 | Finally, in a very few cases the old @file{cl.el} versions do not |
| 200 | behave in exactly the same way as the @file{cl-lib.el} versions. | 200 | behave 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 | ||
| 203 | Since the old @file{cl.el} does not use a clean namespace, Emacs has a | 205 | Since the old @file{cl.el} does not use a clean namespace, Emacs has a |
| 204 | policy that packages distributed with Emacs must not load @code{cl} at | 206 | policy 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 |
| 3314 | This function is like @code{cl-mapcar}, except that the values returned | 3315 | This function is like @code{cl-mapcar}, except that the values returned |
| 3315 | by @var{function} are ignored and thrown away rather than being | 3316 | by @var{function} are ignored and thrown away rather than being |
| 3316 | collected into a list. The return value of @code{cl-mapc} is @var{seq}, | 3317 | collected into a list. The return value of @code{cl-mapc} is @var{seq}, |
| 3317 | the first sequence. This function is more general than the Emacs | 3318 | the first sequence. This function is more general than the Emacs |
| 3318 | primitive @code{mapc}. | 3319 | primitive @code{mapc}. (Note that this function is called |
| 3320 | @code{cl-mapc} even in @file{cl.el}, rather than @code{map*} as you | ||
| 3321 | might 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 |