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)