Function: org-rmail-open

org-rmail-open is a byte-compiled function defined in ol-rmail.el.gz.

Signature

(org-rmail-open PATH _)

Documentation

Follow an Rmail message link to the specified PATH.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ol-rmail.el.gz
(defun org-rmail-open (path _)
  "Follow an Rmail message link to the specified PATH."
  (let (folder article)
    (if (not (string-match "\\`\\([^#]+\\)\\(#\\(.*\\)\\)?" path))
	(error "Error in Rmail link"))
    (setq folder (match-string 1 path)
	  article (match-string 3 path))
    (org-rmail-follow-link folder article)))