Allow help to reuse the current buffer

When following links in the help buffer, inhibiting reuse of the current buffer
pops up a new one, but still updates the current buffer with the followed link.
The result is having two buffers with the same content, usually side by side.
This commit is contained in:
Daniel - 2023-02-18 12:15:02 +01:00
parent 0c2a30a8c2
commit 25912eeb3d
Signed by: dbo
GPG Key ID: 784AA8DF0CCDF625
1 changed files with 1 additions and 2 deletions

View File

@ -634,8 +634,7 @@
(add-to-list 'display-buffer-alist
'("^\\*Help\\*"
(display-buffer-reuse-window
display-buffer-pop-up-window)
(inhibit-same-window . t)))
display-buffer-pop-up-window)))
;; Inspired by masteringemacs
(add-to-list 'display-buffer-alist
'("^\\*e?shell\\*"