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:
Matt Lundin 2016-08-05 20:07:40 -05:00 committed by Nicolas Goaziou
parent 4b9a634774
commit 4bddff606b
1 changed files with 1 additions and 1 deletions

View File

@ -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)