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

Update eshell link definition

* lisp/org-eshell.el ("eshell"):

Update to use org-link-set-parameters.
This commit is contained in:
John Kitchin 2016-07-05 10:27:03 -04:00 committed by Nicolas Goaziou
parent a1ab5b284b
commit 60988ca502

View File

@ -27,8 +27,9 @@
(require 'eshell)
(require 'esh-mode)
(org-add-link-type "eshell" 'org-eshell-open)
(add-hook 'org-store-link-functions 'org-eshell-store-link)
(org-link-set-parameters "eshell"
:follow #'org-eshell-open
:store #'org-eshell-store-link)
(defun org-eshell-open (link)
"Switch to am eshell buffer and execute a command line.