Update eshell link definition
* lisp/org-eshell.el ("eshell"): Update to use org-link-set-parameters.
This commit is contained in:
parent
a1ab5b284b
commit
60988ca502
|
@ -27,8 +27,9 @@
|
||||||
(require 'eshell)
|
(require 'eshell)
|
||||||
(require 'esh-mode)
|
(require 'esh-mode)
|
||||||
|
|
||||||
(org-add-link-type "eshell" 'org-eshell-open)
|
(org-link-set-parameters "eshell"
|
||||||
(add-hook 'org-store-link-functions 'org-eshell-store-link)
|
:follow #'org-eshell-open
|
||||||
|
:store #'org-eshell-store-link)
|
||||||
|
|
||||||
(defun org-eshell-open (link)
|
(defun org-eshell-open (link)
|
||||||
"Switch to am eshell buffer and execute a command line.
|
"Switch to am eshell buffer and execute a command line.
|
||||||
|
|
Loading…
Reference in New Issue