Update rmail link definition
* lisp/org-rmail.el ("rmail"): Use org-link-set-parameters to define link.
This commit is contained in:
parent
35835bce9d
commit
12f473f584
|
@ -43,8 +43,7 @@
|
|||
(defvar rmail-file-name) ; From rmail.el
|
||||
|
||||
;; Install the link type
|
||||
(org-add-link-type "rmail" 'org-rmail-open)
|
||||
(add-hook 'org-store-link-functions 'org-rmail-store-link)
|
||||
(org-link-set-parameters "rmail" :follow #'org-rmail-open :store #'org-rmail-store-link)
|
||||
|
||||
;; Implementation
|
||||
(defun org-rmail-store-link ()
|
||||
|
|
Loading…
Reference in New Issue