Function: diary-icalendar-parse-url

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

Signature

(diary-icalendar-parse-url)

Documentation

Parse icalendar-url node from entry.

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

Source Code

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

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