diff options
| author | Eli Zaretskii | 2019-06-07 22:06:01 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2019-06-07 22:06:01 +0300 |
| commit | 77f96e2cc1da30730f79d5935eaf5d23e53f37ad (patch) | |
| tree | 3def25baacae463f3e48d7b233f26a44a71aef1d /src | |
| parent | dec525017013b448f23eb645b11068862c1038d6 (diff) | |
| parent | 9f4c945b5cfb2e26a65ca10453591536c8fb0ff4 (diff) | |
| download | emacs-77f96e2cc1da30730f79d5935eaf5d23e53f37ad.tar.gz emacs-77f96e2cc1da30730f79d5935eaf5d23e53f37ad.zip | |
Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs
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; |