From 94dd0b8f4ffba07558f49aeae1882c42795f1a01 Mon Sep 17 00:00:00 2001 From: Robert Klein Date: Mon, 8 Aug 2016 03:24:23 +0200 Subject: [PATCH] Update mew link definition * contrib/lisp/org-mew.el ("mew"): Update to use org-link-set-parameters. --- contrib/lisp/org-mew.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/contrib/lisp/org-mew.el b/contrib/lisp/org-mew.el index 4f2559b6f..f4c845c5f 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 ()