Commit aecbbd57 authored by Eli Zaretskii's avatar Eli Zaretskii

* src/fns.c (Fmapconcat): Doc fix. (Bug#35710)

parent 8e5fc38a
Pipeline #1921 failed with stage
in 7 seconds
...@@ -2494,8 +2494,12 @@ mapcar1 (EMACS_INT leni, Lisp_Object *vals, Lisp_Object fn, Lisp_Object seq) ...@@ -2494,8 +2494,12 @@ mapcar1 (EMACS_INT leni, Lisp_Object *vals, Lisp_Object fn, Lisp_Object seq)
DEFUN ("mapconcat", Fmapconcat, Smapconcat, 3, 3, 0, DEFUN ("mapconcat", Fmapconcat, Smapconcat, 3, 3, 0,
doc: /* Apply FUNCTION to each element of SEQUENCE, and concat the results as strings. doc: /* Apply FUNCTION to each element of SEQUENCE, and concat the results as strings.
In between each pair of results, stick in SEPARATOR. Thus, " " as In between each pair of results, stick in SEPARATOR. Thus, " " as
SEPARATOR results in spaces between the values returned by FUNCTION. SEPARATOR results in spaces between the values returned by FUNCTION.
SEQUENCE may be a list, a vector, a bool-vector, or a string. */) SEQUENCE may be a list, a vector, a bool-vector, or a string.
SEPARATOR must be a string.
FUNCTION must be a function of one argument, and must return a value
that is a sequence of characters: either a string, or a vector or
list of numbers that are valid character codepoints. */)
(Lisp_Object function, Lisp_Object sequence, Lisp_Object separator) (Lisp_Object function, Lisp_Object sequence, Lisp_Object separator)
{ {
USE_SAFE_ALLOCA; USE_SAFE_ALLOCA;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment