Function: gnus-icalendar-event-from-buffer
gnus-icalendar-event-from-buffer is a byte-compiled function defined
in gnus-icalendar.el.gz.
Signature
(gnus-icalendar-event-from-buffer BUF &optional IDS)
Documentation
Parse RFC5545 iCalendar in buffer BUF and return an event object.
Return a gnus-icalendar-event object representing the first event contained in the invitation. Return nil for calendars without an event entry.
IDS is a list of strings that identify the recipient
icalendar-attendee by name or email address. Invitation rsvp status
will be retrieved from the first matching attendee record.
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-icalendar.el.gz
(defun gnus-icalendar-event-from-buffer (buf &optional ids)
"Parse RFC5545 iCalendar in buffer BUF and return an event object.
Return a gnus-icalendar-event object representing the first event
contained in the invitation. Return nil for calendars without an
event entry.
IDS is a list of strings that identify the recipient
`icalendar-attendee' by name or email address. Invitation rsvp status
will be retrieved from the first matching attendee record."
(let ((vcalendar (ical:parse buf)))
(when vcalendar
(gnus-icalendar-event-from-ical vcalendar ids))))