tools/eshell: change split behavior to open non-eshell window

This commit is contained in:
Henrik Lissner 2018-05-25 01:00:04 +02:00
parent cce30367bb
commit 0348686cce
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -175,14 +175,14 @@ delete."
"Create a new eshell window below the current one." "Create a new eshell window below the current one."
(interactive) (interactive)
(select-window (split-window-vertically)) (select-window (split-window-vertically))
(+eshell/open)) (bury-buffer))
;;;###autoload ;;;###autoload
(defun +eshell/split-right () (defun +eshell/split-right ()
"Create a new eshell window to the right of the current one." "Create a new eshell window to the right of the current one."
(interactive) (interactive)
(select-window (split-window-horizontally)) (select-window (split-window-horizontally))
(+eshell/open)) (bury-buffer))
;; `make-ring' ;; `make-ring'
;; `ring-ref' ;; `ring-ref'