diff options
Diffstat (limited to 'lisp/org/ol-eshell.el')
-rw-r--r-- | lisp/org/ol-eshell.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/org/ol-eshell.el b/lisp/org/ol-eshell.el index 8920e0afb0d..a7550e3769b 100644 --- a/lisp/org/ol-eshell.el +++ b/lisp/org/ol-eshell.el @@ -35,9 +35,9 @@ (defun org-eshell-open (link _) "Switch to an eshell buffer and execute a command line. - The link can be just a command line (executed in the default - eshell buffer) or a command line prefixed by a buffer name - followed by a colon." +The link can be just a command line (executed in the default +eshell buffer) or a command line prefixed by a buffer name +followed by a colon." (let* ((buffer-and-command (if (string-match "\\([A-Za-z0-9+*-]+\\):\\(.*\\)" link) (list (match-string 1 link) @@ -55,7 +55,7 @@ (defun org-eshell-store-link () "Store a link that, when opened, switches back to the current eshell buffer - and the current working directory." +and the current working directory." (when (eq major-mode 'eshell-mode) (let* ((command (concat "cd " (eshell/pwd))) (link (concat (buffer-name) ":" command))) |