From 25912eeb3da8e19140f279945641e293fac563da Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sat, 18 Feb 2023 12:15:02 +0100 Subject: [PATCH] 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. --- init.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/init.el b/init.el index fd965d2..f513562 100644 --- a/init.el +++ b/init.el @@ -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\\*"