summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Klein <roklein@roklein.de>2016-08-08 03:24:23 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2016-08-08 11:20:35 +0200
commit94dd0b8f4ffba07558f49aeae1882c42795f1a01 (patch)
tree74dee37584326ed8642eb0e975d4e3efdadc1fd5
parentf2bfa80c4c803a36b87b6fb540797a1f97718691 (diff)
downloadorg-mode-94dd0b8f4ffba07558f49aeae1882c42795f1a01.tar.gz
Update mew link definition
* contrib/lisp/org-mew.el ("mew"): Update to use org-link-set-parameters.
-rw-r--r--contrib/lisp/org-mew.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/lisp/org-mew.el b/contrib/lisp/org-mew.el
index 4f2559b..f4c845c 100644
--- a/contrib/lisp/org-mew.el
+++ b/contrib/lisp/org-mew.el
@@ -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 ()