>From 6b5bd1f02b996ae9612e77ab88a9686f05077bf3 Mon Sep 17 00:00:00 2001 From: Robert Klein
Date: Mon, 8 Aug 2016 03:24:23 +0200 Subject: [PATCH 13/14] Update wl link definition * contrib/lisp/org-wl.el ("wl"): Update to use org-link-set-parameters. --- contrib/lisp/org-wl.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/contrib/lisp/org-wl.el b/contrib/lisp/org-wl.el index befbc16..e4d7306 100644 --- a/contrib/lisp/org-wl.el +++ b/contrib/lisp/org-wl.el @@ -109,8 +109,7 @@ googlegroups otherwise." "List of folder indicators. See Wanderlust manual, section 3.") ;; Install the link type -(org-add-link-type "wl" 'org-wl-open) -(add-hook 'org-store-link-functions 'org-wl-store-link) +(org-link-set-parameters "wl" :follow #'org-wl-open :store #'org-wl-store-link) ;; Implementation -- 2.9.2