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 a72e41aee5b..61182852ba7 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -2852,12 +2852,16 @@ mapcar1 (EMACS_INT leni, Lisp_Object *vals, Lisp_Object fn, Lisp_Object seq)
2852 return leni; 2852 return leni;
2853} 2853}
2854 2854
2855DEFUN ("mapconcat", Fmapconcat, Smapconcat, 3, 3, 0, 2855DEFUN ("mapconcat", Fmapconcat, Smapconcat, 2, 3, 0,
2856 doc: /* Apply FUNCTION to each element of SEQUENCE, and concat the results as strings. 2856 doc: /* Apply FUNCTION to each element of SEQUENCE, and concat the results as strings.
2857In between each pair of results, stick in SEPARATOR. Thus, " " as 2857In between each pair of results, stick in SEPARATOR. Thus, " " as
2858 SEPARATOR results in spaces between the values returned by FUNCTION. 2858 SEPARATOR results in spaces between the values returned by FUNCTION.
2859
2859SEQUENCE may be a list, a vector, a bool-vector, or a string. 2860SEQUENCE may be a list, a vector, a bool-vector, or a string.
2860SEPARATOR must be a string, a vector, or a list of characters. 2861
2862Optional argument SEPARATOR must be a string, a vector, or a list of
2863characters; nil stands for the empty string.
2864
2861FUNCTION must be a function of one argument, and must return a value 2865FUNCTION must be a function of one argument, and must return a value
2862 that is a sequence of characters: either a string, or a vector or 2866 that is a sequence of characters: either a string, or a vector or
2863 list of numbers that are valid character codepoints. */) 2867 list of numbers that are valid character codepoints. */)