diff options
author | Eli Zaretskii <eliz@gnu.org> | 2019-06-07 15:59:50 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2019-06-07 15:59:50 +0300 |
commit | aecbbd57c1929116cf4898336e43d81479535ca0 (patch) | |
tree | 028afa45cb625b0d25dddf07f9744f8d09da722c | |
parent | 8e5fc38a2f0331c00704e4cc34602a2d58c32c6a (diff) | |
download | emacs-aecbbd57c1929116cf4898336e43d81479535ca0.tar.gz |
* src/fns.c (Fmapconcat): Doc fix. (Bug#35710)
-rw-r--r-- | src/fns.c | 8 |
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) DEFUN ("mapconcat", Fmapconcat, Smapconcat, 3, 3, 0, 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 -SEPARATOR results in spaces between the values returned by FUNCTION. -SEQUENCE may be a list, a vector, a bool-vector, or a string. */) + SEPARATOR results in spaces between the values returned by FUNCTION. +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) { USE_SAFE_ALLOCA; |