mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Fix #2100: shell modeline doesn't stay hidden
This commit is contained in:
@ -69,7 +69,7 @@ If popup is focused, kill it."
|
|||||||
(with-current-buffer (pop-to-buffer buffer)
|
(with-current-buffer (pop-to-buffer buffer)
|
||||||
(if (not (eq major-mode 'shell-mode))
|
(if (not (eq major-mode 'shell-mode))
|
||||||
(shell buffer)
|
(shell buffer)
|
||||||
(erase-buffer)
|
(run-mode-hooks 'shell-mode-hook)
|
||||||
(cd dir))
|
(cd dir))
|
||||||
(let ((process (get-buffer-process (current-buffer))))
|
(let ((process (get-buffer-process (current-buffer))))
|
||||||
(set-process-sentinel process #'+shell--sentinel)
|
(set-process-sentinel process #'+shell--sentinel)
|
||||||
|
Reference in New Issue
Block a user