[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ shell buffer ] How not to split the current window?
From: |
HASM |
Subject: |
Re: [ shell buffer ] How not to split the current window? |
Date: |
Wed, 30 Aug 2017 07:07:26 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
> since a previous update, when using M-x shell, the shell opens in a new
> buffer, splitting the window.
You could do:
(add-hook 'shell-mode-hook 'delete-other-windows)
but that will only work the first time that "shell" buffer is created,
not if there is one already.
For the later case you may need to change the shell defun and add a call
to delete-other-windows after the pop-to-buffer (though I didn't test
it.)
-- HASM
- Re: [ shell buffer ] How not to split the current window?,
HASM <=