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.
This commit is contained in:
parent
4b9a634774
commit
4bddff606b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue