bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#37840: Missing in the Emacs manuals:


From: martin rudalics
Subject: bug#37840: Missing in the Emacs manuals:
Date: Thu, 7 Nov 2019 09:39:50 +0100

> But pop-to-buffer-same-window still follows rules from
> display-buffer-alist that can override inhibit-same-window.

OK.  Then customizing 'display-buffer-base-action' and
'switch-to-buffer-obey-display-actions' alone is not sufficient for
overriding the behavior of 'switch-to-buffer'.  The user has to
customize 'display-buffer-alist' as well.

This means that for Konrad's scenario to work, the minimum requirement
is

(custom-set-variables
 '(display-buffer-base-action
   '((display-buffer-reuse-window display-buffer-pop-up-frame)
     (reusable-frames . 0)))
 '(display-buffer-alist
   '(("\\*.*\\*" . (nil (inhibit-same-window . t)))))
 '(switch-to-buffer-obey-display-actions t))

martin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]