Fix #2100: shell modeline doesn't stay hidden
This commit is contained in:
parent
34500c9177
commit
aa19eeed0f
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue