tools/eshell: change split behavior to open non-eshell window
This commit is contained in:
parent
cce30367bb
commit
0348686cce
1 changed files with 2 additions and 2 deletions
|
@ -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'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue