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 Borchmann 2023-02-18 12:15:02 +01:00
parent 0c2a30a8c2
commit 25912eeb3d
No known key found for this signature in database
GPG Key ID: 784AA8DF0CCDF625

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\\*"