diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/fns.c | 8 |
1 files changed, 6 insertions, 2 deletions
| @@ -2681,8 +2681,12 @@ mapcar1 (EMACS_INT leni, Lisp_Object *vals, Lisp_Object fn, Lisp_Object seq) | |||
| 2681 | DEFUN ("mapconcat", Fmapconcat, Smapconcat, 3, 3, 0, | 2681 | DEFUN ("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. |
| 2683 | In between each pair of results, stick in SEPARATOR. Thus, " " as | 2683 | In between each pair of results, stick in SEPARATOR. Thus, " " as |
| 2684 | SEPARATOR results in spaces between the values returned by FUNCTION. | 2684 | SEPARATOR results in spaces between the values returned by FUNCTION. |
| 2685 | SEQUENCE may be a list, a vector, a bool-vector, or a string. */) | 2685 | SEQUENCE may be a list, a vector, a bool-vector, or a string. |
| 2686 | SEPARATOR must be a string. | ||
| 2687 | FUNCTION 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; |