Simplify `display-buffer-alist' setup
This commit is contained in:
parent
36b1fec3e9
commit
c074cc90a4
@ -701,6 +701,7 @@ and [[lst:3rd-window-management]] implement a selection of his recommendations.
|
||||
;; https://www.masteringemacs.org/article/demystifying-emacs-window-manager
|
||||
(add-to-list 'display-buffer-alist
|
||||
`(,(rx (or "*Apropos*"
|
||||
"*Dictionary*"
|
||||
"*Help*"
|
||||
"*info"))
|
||||
(display-buffer-reuse-window display-buffer-pop-up-window)
|
||||
@ -714,11 +715,7 @@ and [[lst:3rd-window-management]] implement a selection of his recommendations.
|
||||
(add-to-list 'display-buffer-alist
|
||||
'("\\*compilation\\*"
|
||||
display-buffer-no-window
|
||||
(allow-no-window . t)))
|
||||
(add-to-list 'display-buffer-alist
|
||||
'("^\\*Dictionary\\*" display-buffer-in-side-window
|
||||
(side . left)
|
||||
(window-width . 70))))
|
||||
(allow-no-window . t))))
|
||||
#+end_src
|
||||
|
||||
* [[info:elisp#Advising Functions][Advising functions (info)]]
|
||||
|
Loading…
Reference in New Issue
Block a user