Update mew link definition
* contrib/lisp/org-mew.el ("mew"): Update to use org-link-set-parameters.
This commit is contained in:
parent
f2bfa80c4c
commit
94dd0b8f4f
|
@ -148,8 +148,7 @@ with \"t\" key."
|
||||||
(defvar mew-summary-goto-line-then-display)
|
(defvar mew-summary-goto-line-then-display)
|
||||||
|
|
||||||
;; Install the link type
|
;; Install the link type
|
||||||
(org-add-link-type "mew" 'org-mew-open)
|
(org-link-set-parameters "mew" :follow #'org-mew-open :store #'org-mew-store-link)
|
||||||
(add-hook 'org-store-link-functions 'org-mew-store-link)
|
|
||||||
|
|
||||||
;; Implementation
|
;; Implementation
|
||||||
(defun org-mew-store-link ()
|
(defun org-mew-store-link ()
|
||||||
|
|
Loading…
Reference in New Issue