summaryrefslogtreecommitdiff
path: root/lispref
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2000-04-12 17:20:46 +0000
committerDave Love <fx@gnu.org>2000-04-12 17:20:46 +0000
commit3c30cb6e7ed8fd1d1f4e9ca0722f646f663291ce (patch)
tree1f55133181ca18aef26ca7884bb8bf2af03928fe /lispref
parentf5c750339f6c4225cd1a2590757422531a12526c (diff)
downloademacs-3c30cb6e7ed8fd1d1f4e9ca0722f646f663291ce.tar.gz
mapc
Diffstat (limited to 'lispref')
-rw-r--r--lispref/functions.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/lispref/functions.texi b/lispref/functions.texi
index e4241d9a967..6cdcb6bce1b 100644
--- a/lispref/functions.texi
+++ b/lispref/functions.texi
@@ -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.