aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fns.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/fns.c b/src/fns.c
index cb47b818f17..4bb525b89e9 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -2681,8 +2681,12 @@ mapcar1 (EMACS_INT leni, Lisp_Object *vals, Lisp_Object fn, Lisp_Object seq)
2681DEFUN ("mapconcat", Fmapconcat, Smapconcat, 3, 3, 0, 2681DEFUN ("mapconcat", Fmapconcat, Smapconcat, 3, 3, 0,
2682 doc: /* Apply FUNCTION to each element of SEQUENCE, and concat the results as strings. 2682 doc: /* Apply FUNCTION to each element of SEQUENCE, and concat the results as strings.
2683In between each pair of results, stick in SEPARATOR. Thus, " " as 2683In between each pair of results, stick in SEPARATOR. Thus, " " as
2684SEPARATOR results in spaces between the values returned by FUNCTION. 2684 SEPARATOR results in spaces between the values returned by FUNCTION.
2685SEQUENCE may be a list, a vector, a bool-vector, or a string. */) 2685SEQUENCE may be a list, a vector, a bool-vector, or a string.
2686SEPARATOR must be a string.
2687FUNCTION must be a function of one argument, and must return a value
2688 that is a sequence of characters: either a string, or a vector or
2689 list of numbers that are valid character codepoints. */)
2686 (Lisp_Object function, Lisp_Object sequence, Lisp_Object separator) 2690 (Lisp_Object function, Lisp_Object sequence, Lisp_Object separator)
2687{ 2691{
2688 USE_SAFE_ALLOCA; 2692 USE_SAFE_ALLOCA;