Function: gnus-icalendar--format-participant-list
gnus-icalendar--format-participant-list is a byte-compiled function
defined in gnus-icalendar.el.gz.
Signature
(gnus-icalendar--format-participant-list PARTICIPANTS)
Documentation
Format PARTICIPANTS as a comma-separated list.
Each icalendar-attendee in PARTICIPANTS will be represented like
A. Person <a.person@example.domain>
or simply: <a.person@example.domain>, if no icalendar-cnparam is present.
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-icalendar.el.gz
(defun gnus-icalendar--format-participant-list (participants)
"Format PARTICIPANTS as a comma-separated list.
Each `icalendar-attendee' in PARTICIPANTS will be represented like
A. Person <a.person@example.domain>
or simply: <a.person@example.domain>, if no `icalendar-cnparam' is present."
(mapconcat
(lambda (attendee)
(ical:with-property attendee ((ical:cnparam :value cn))
(if cn
(format "%s <%s>" cn value)
(format "<%s>" value))))
participants ", "))