Function: org-koma-letter--special-contents-inline
org-koma-letter--special-contents-inline is a byte-compiled function
defined in ox-koma-letter.el.gz.
Signature
(org-koma-letter--special-contents-inline KEYWORDS INFO)
Documentation
Process KEYWORDS members of org-koma-letter-special-contents.
KEYWORDS is a list of symbols. Return them as a string to be formatted.
INFO is the information plist possibly holding :special-tags-as-macro
property. See org-koma-letter-special-tags-as-macro.
The function is used for inserting content of special headings such as the one tagged with PS.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ox-koma-letter.el.gz
(defun org-koma-letter--special-contents-inline (keywords info)
"Process KEYWORDS members of `org-koma-letter-special-contents'.
KEYWORDS is a list of symbols. Return them as a string to be
formatted.
INFO is the information plist possibly holding :special-tags-as-macro
property. See `org-koma-letter-special-tags-as-macro'.
The function is used for inserting content of special headings
such as the one tagged with PS."
(mapconcat
(lambda (keyword)
(let* ((name (org-koma-letter--get-value keyword))
(value (org-koma-letter--get-tagged-contents name))
(macrop (memq keyword (plist-get info :special-tags-as-macro))))
(cond ((not value) nil)
(macrop (format "\\%s{%s}\n" name value))
(t value))))
keywords
"\n"))