mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 12:21:25 -08:00
mapc
This commit is contained in:
parent
f5c750339f
commit
3c30cb6e7e
2 changed files with 10 additions and 0 deletions
3
etc/NEWS
3
etc/NEWS
|
|
@ -1102,6 +1102,9 @@ Note that +++ before an item means the Lisp manual has been updated.
|
|||
When you add a new item, please add it without either +++ or ---
|
||||
so I will know I still need to look at it -- rms.
|
||||
|
||||
** The new function `mapc' is like `mapcar' but doesn't collect the
|
||||
argument function's results.
|
||||
|
||||
** The functions base64-decode-region and base64-decode-string now
|
||||
signal an error instead of returning nil if decoding fails.
|
||||
|
||||
|
|
|
|||
|
|
@ -748,6 +748,13 @@ Return the list of results."
|
|||
@end smallexample
|
||||
@end defun
|
||||
|
||||
@defun mapc function sequence
|
||||
@tindex mapc
|
||||
@code{mapc} is like @code{mapcar} except that @var{function} is used for
|
||||
side-effects only---the values it returns are ignored, not collected
|
||||
into a list. @code{mapc} always returns @var{sequence}.
|
||||
@end defun
|
||||
|
||||
@defun mapconcat function sequence separator
|
||||
@code{mapconcat} applies @var{function} to each element of
|
||||
@var{sequence}: the results, which must be strings, are concatenated.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue