Tweak setting display-buffer-alist' and add
info' pointers
This commit is contained in:
parent
58929b05b9
commit
9f00212781
10
README.org
10
README.org
@ -648,17 +648,25 @@ for technical information.
|
|||||||
#+caption: Window management variables.
|
#+caption: Window management variables.
|
||||||
#+name: lst:3rd-window-management
|
#+name: lst:3rd-window-management
|
||||||
#+begin_src emacs-lisp -n :results none
|
#+begin_src emacs-lisp -n :results none
|
||||||
|
;; (info "(emacs) Bug Reference")
|
||||||
(defvar bug-reference-url-format
|
(defvar bug-reference-url-format
|
||||||
"https://debbugs.gnu.org/cgi/bugreport.cgi?bug=%s"
|
"https://debbugs.gnu.org/cgi/bugreport.cgi?bug=%s"
|
||||||
"Setting this as a file local variable enables `bug-reference-mode'")
|
"Setting this as a file local variable enables `bug-reference-mode'")
|
||||||
|
|
||||||
|
;; (info "(elisp) Displaying Buffers")
|
||||||
|
;; (info "(emacs) Window Choice")
|
||||||
|
;; (describe-function 'display-buffer)
|
||||||
(with-eval-after-load 'emacs
|
(with-eval-after-load 'emacs
|
||||||
;; https://www.masteringemacs.org/article/demystifying-emacs-window-manager
|
;; https://www.masteringemacs.org/article/demystifying-emacs-window-manager
|
||||||
(setopt switch-to-buffer-obey-display-actions t)
|
(setopt switch-to-buffer-obey-display-actions t)
|
||||||
(add-to-list 'display-buffer-alist
|
(add-to-list 'display-buffer-alist
|
||||||
`(,(rx (or "*Apropos*" "*Dictionary*" "*Help*" "*info"))
|
`(,(rx (or "*Apropos*" "*Dictionary*"))
|
||||||
(display-buffer-reuse-window display-buffer-pop-up-window)
|
(display-buffer-reuse-window display-buffer-pop-up-window)
|
||||||
(inhibit-same-window . nil)))
|
(inhibit-same-window . nil)))
|
||||||
|
(add-to-list 'display-buffer-alist
|
||||||
|
`(,(rx (or "*Help*" "*info*"))
|
||||||
|
display-buffer-pop-up-window
|
||||||
|
(inhibit-same-window . t)))
|
||||||
(add-to-list 'display-buffer-alist
|
(add-to-list 'display-buffer-alist
|
||||||
`(,(rx (or "*Occur*" "*grep*" "*xref*"))
|
`(,(rx (or "*Occur*" "*grep*" "*xref*"))
|
||||||
display-buffer-reuse-window
|
display-buffer-reuse-window
|
||||||
|
Loading…
Reference in New Issue
Block a user