Function: org-cite-mapconcat
org-cite-mapconcat is a byte-compiled function defined in oc.el.gz.
Signature
(org-cite-mapconcat FUNCTION DATA SEPARATOR)
Documentation
Apply FUNCTION to each element of DATA, and return a secondary string.
In between each pair of results, stick SEPARATOR, which may be a string, an object, or a secondary string. FUNCTION must be a function of one argument, and must return either a string, an object, or a secondary string.
Source Code
;; Defined in /usr/src/emacs/lisp/org/oc.el.gz
(defun org-cite-mapconcat (function data separator)
"Apply FUNCTION to each element of DATA, and return a secondary string.
In between each pair of results, stick SEPARATOR, which may be a string,
an object, or a secondary string. FUNCTION must be a function of one argument,
and must return either a string, an object, or a secondary string."
(and data
(let ((result (list (funcall function (car data)))))
(dolist (datum (cdr data))
(setq result
(org-cite-concat result separator (funcall function datum))))
result)))