From 4bddff606b75baa4c20c95a852036b64017b3d54 Mon Sep 17 00:00:00 2001 From: Matt Lundin Date: Fri, 5 Aug 2016 20:07:40 -0500 Subject: [PATCH] Update org-eww to use new link api * contrib/lisp/org-eww.el: org-store-link-functions: Remove obsolete hook. (org-link-set-parameters) Use new api for links. --- contrib/lisp/org-eww.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/lisp/org-eww.el b/contrib/lisp/org-eww.el index 11ccb682f..a44325545 100644 --- a/contrib/lisp/org-eww.el +++ b/contrib/lisp/org-eww.el @@ -48,7 +48,7 @@ ;; Store Org-link in eww-mode buffer -(add-hook 'org-store-link-functions 'org-eww-store-link) +(org-link-set-parameters "eww" :store #'org-eww-store-link) (defun org-eww-store-link () "Store a link to the url of a eww buffer." (when (eq major-mode 'eww-mode)