aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/fns.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/fns.c b/src/fns.c
index 8db2a86a725..2276a9971b2 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -2494,8 +2494,12 @@ mapcar1 (EMACS_INT leni, Lisp_Object *vals, Lisp_Object fn, Lisp_Object seq)
2494DEFUN ("mapconcat", Fmapconcat, Smapconcat, 3, 3, 0, 2494DEFUN ("mapconcat", Fmapconcat, Smapconcat, 3, 3, 0,
2495 doc: /* Apply FUNCTION to each element of SEQUENCE, and concat the results as strings. 2495 doc: /* Apply FUNCTION to each element of SEQUENCE, and concat the results as strings.
2496In between each pair of results, stick in SEPARATOR. Thus, " " as 2496In between each pair of results, stick in SEPARATOR. Thus, " " as
2497SEPARATOR results in spaces between the values returned by FUNCTION. 2497 SEPARATOR results in spaces between the values returned by FUNCTION.
2498SEQUENCE may be a list, a vector, a bool-vector, or a string. */) 2498SEQUENCE may be a list, a vector, a bool-vector, or a string.
2499SEPARATOR must be a string.
2500FUNCTION must be a function of one argument, and must return a value
2501 that is a sequence of characters: either a string, or a vector or
2502 list of numbers that are valid character codepoints. */)
2499 (Lisp_Object function, Lisp_Object sequence, Lisp_Object separator) 2503 (Lisp_Object function, Lisp_Object sequence, Lisp_Object separator)
2500{ 2504{
2501 USE_SAFE_ALLOCA; 2505 USE_SAFE_ALLOCA;