Update mew link definition

* contrib/lisp/org-mew.el ("mew"):

Update to use org-link-set-parameters.
This commit is contained in:
Robert Klein 2016-08-08 03:24:23 +02:00 committed by Nicolas Goaziou
parent f2bfa80c4c
commit 94dd0b8f4f
1 changed files with 1 additions and 2 deletions

View File

@ -148,8 +148,7 @@ with \"t\" key."
(defvar mew-summary-goto-line-then-display)
;; Install the link type
(org-add-link-type "mew" 'org-mew-open)
(add-hook 'org-store-link-functions 'org-mew-store-link)
(org-link-set-parameters "mew" :follow #'org-mew-open :store #'org-mew-store-link)
;; Implementation
(defun org-mew-store-link ()