Temporary fix for *Warnings* buffer and `display-buffer-alist'

This commit is contained in:
Gerard Vermeulen 2024-05-05 11:16:30 +02:00
parent e86aab7223
commit eb4105354a

View File

@ -694,8 +694,9 @@ for technical information.
;; Handling the *Warnings* buffer like the *compilation* buffer also fails. ;; Handling the *Warnings* buffer like the *compilation* buffer also fails.
;; BUG#70773: Eli tells `(setq delayed-warnings-hook nil)' is better. ;; BUG#70773: Eli tells `(setq delayed-warnings-hook nil)' is better.
;; https://lists.gnu.org/archive/html/bug-gnu-emacs/2024-05/msg00253.html ;; https://lists.gnu.org/archive/html/bug-gnu-emacs/2024-05/msg00253.html
;; Works after setting `warnings-display-at-bottom' to `nil'.
(add-to-list 'display-buffer-alist (add-to-list 'display-buffer-alist
`(,(rx (or "*compilation*")) `(,(rx (or "*Warnings*" "*compilation*"))
display-buffer-no-window display-buffer-no-window
(allow-no-window . t)))) (allow-no-window . t))))
#+end_src #+end_src