[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#52688: 29.0.50; term / use display-buffer
From: |
Lars Ingebrigtsen |
Subject: |
bug#52688: 29.0.50; term / use display-buffer |
Date: |
Tue, 21 Dec 2021 11:48:20 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
dal-blazej@onenetbeyond.org writes:
> The function 'term' use actually 'switch-to-buffer'. I think it's better
> to let users decide where the window will appear with
> 'display-buffer-alist' or 'display-buffer-base-action', and so, to use
> 'display-buffer'.
[...]
> - (switch-to-buffer "*terminal*"))
> + (display-buffer "*terminal*"))
This would change the behaviour considerably from the current one, so I
don't think this would fly. But we could use
`pop-to-buffer-same-window', I guess?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no