1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-21 06:55:35 +00:00

Update w3m link definition

* lisp/org-w3m.el ("w3m"):
Update to use org-link-set-parameters.
This commit is contained in:
John Kitchin 2016-07-05 10:28:38 -04:00 committed by Nicolas Goaziou
parent 12f473f584
commit 4e3fd4a1c8

View File

@ -46,7 +46,7 @@
(defvar w3m-current-url)
(defvar w3m-current-title)
(add-hook 'org-store-link-functions 'org-w3m-store-link)
(org-link-set-parameters "w3m" :store #'org-w3m-store-link)
(defun org-w3m-store-link ()
"Store a link to a w3m buffer."
(when (eq major-mode 'w3m-mode)