Fix `+eshell/split-window' error
`+eshell/split-window' eventually calls `+eshell--bury-buffer', which invoked `+eshell/here' with `t' instead of a command string, erroring.
This commit is contained in:
parent
0c9256411d
commit
f40f025fb2
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@
|
||||||
(switch-to-buffer (doom-fallback-buffer)))
|
(switch-to-buffer (doom-fallback-buffer)))
|
||||||
(when +eshell-enable-new-shell-on-split
|
(when +eshell-enable-new-shell-on-split
|
||||||
(let ((default-directory directory))
|
(let ((default-directory directory))
|
||||||
(when-let (win (get-buffer-window (+eshell/here t)))
|
(when-let (win (get-buffer-window (+eshell/here)))
|
||||||
(set-window-dedicated-p win dedicated-p))))))
|
(set-window-dedicated-p win dedicated-p))))))
|
||||||
|
|
||||||
(defun +eshell--setup-window (window &optional flag)
|
(defun +eshell--setup-window (window &optional flag)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue