Function: diary-icalendar-parse-uid

diary-icalendar-parse-uid is a byte-compiled function defined in diary-icalendar.el.gz.

Signature

(diary-icalendar-parse-uid)

Documentation

Parse icalendar-uid node from entry.

Searches the entry in the current restriction for a UID matching diary-icalendar-uid-regexp. If a UID is found, it will be parsed as an icalendar-uid node. Return this node, or nil.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/diary-icalendar.el.gz
(defun di:parse-uid ()
  "Parse `icalendar-uid' node from entry.

Searches the entry in the current restriction for a UID matching
`diary-icalendar-uid-regexp'.  If a UID is found, it will be parsed as an
`icalendar-uid' node.  Return this node, or nil."
  (goto-char (point-min))
  (when (and di:uid-regexp
             (re-search-forward di:uid-regexp nil t))
    (ical:make-property ical:uid (ical:trimp (match-string 1)))))