Function: diary-icalendar-parse-status
diary-icalendar-parse-status is a byte-compiled function defined in
diary-icalendar.el.gz.
Signature
(diary-icalendar-parse-status)
Documentation
Parse icalendar-status node from entry.
Searches the entry in the current restriction for a status matching
diary-icalendar-status-regexp. If a status is found, it will be parsed
as an icalendar-status node. Return this node, or nil.
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/diary-icalendar.el.gz
(defun di:parse-status ()
"Parse `icalendar-status' node from entry.
Searches the entry in the current restriction for a status matching
`diary-icalendar-status-regexp'. If a status is found, it will be parsed
as an `icalendar-status' node. Return this node, or nil."
(goto-char (point-min))
(when (and di:status-regexp
(re-search-forward di:status-regexp nil t))
(ical:make-property ical:status
(upcase (string-trim (match-string 1))))))