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
|
;; https://www.masteringemacs.org/article/demystifying-emacs-window-manager
|
||||||
(add-to-list 'display-buffer-alist
|
(add-to-list 'display-buffer-alist
|
||||||
`(,(rx (or "*Apropos*"
|
`(,(rx (or "*Apropos*"
|
||||||
|
"*Dictionary*"
|
||||||
"*Help*"
|
"*Help*"
|
||||||
"*info"))
|
"*info"))
|
||||||
(display-buffer-reuse-window display-buffer-pop-up-window)
|
(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
|
(add-to-list 'display-buffer-alist
|
||||||
'("\\*compilation\\*"
|
'("\\*compilation\\*"
|
||||||
display-buffer-no-window
|
display-buffer-no-window
|
||||||
(allow-no-window . t)))
|
(allow-no-window . t))))
|
||||||
(add-to-list 'display-buffer-alist
|
|
||||||
'("^\\*Dictionary\\*" display-buffer-in-side-window
|
|
||||||
(side . left)
|
|
||||||
(window-width . 70))))
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* [[info:elisp#Advising Functions][Advising functions (info)]]
|
* [[info:elisp#Advising Functions][Advising functions (info)]]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user