org-eww: Add follow function for eww links
* contrib/lisp/org-eww.el ("eww"): Add :follow property.
This commit is contained in:
parent
c74e89e40b
commit
be2c32c43c
|
@ -48,7 +48,7 @@
|
||||||
|
|
||||||
|
|
||||||
;; Store Org-link in eww-mode buffer
|
;; Store Org-link in eww-mode buffer
|
||||||
(org-link-set-parameters "eww" :store #'org-eww-store-link)
|
(org-link-set-parameters "eww" :follow #'eww :store #'org-eww-store-link)
|
||||||
(defun org-eww-store-link ()
|
(defun org-eww-store-link ()
|
||||||
"Store a link to the url of a eww buffer."
|
"Store a link to the url of a eww buffer."
|
||||||
(when (eq major-mode 'eww-mode)
|
(when (eq major-mode 'eww-mode)
|
||||||
|
|
Loading…
Reference in New Issue