summaryrefslogtreecommitdiff
path: root/lisp/org/ol-eshell.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/org/ol-eshell.el')
-rw-r--r--lisp/org/ol-eshell.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org/ol-eshell.el b/lisp/org/ol-eshell.el
index 1dee61b98b8..1ca2aa2b28b 100644
--- a/lisp/org/ol-eshell.el
+++ b/lisp/org/ol-eshell.el
@@ -46,7 +46,7 @@ followed by a colon."
(eshell-buffer-name (car buffer-and-command))
(command (cadr buffer-and-command)))
(if (get-buffer eshell-buffer-name)
- (pop-to-buffer-same-window eshell-buffer-name)
+ (pop-to-buffer eshell-buffer-name display-comint-buffer-action)
(eshell))
(goto-char (point-max))
(eshell-kill-input)