popper
popper copied to clipboard
auto-hide does not work on *Warnings* buffer when display-warning is called
Minimal configuration:
(use-package popper
:custom
(popper-reference-buffers
'(("\\*Warnings\\*" . hide)))
:init (popper-mode +1))
To reproduce the bug, execute the following snippet:
(display-warning :warning "test")
Expected behavior: the *Warnings* buffer should not be displayed. Seen behavior: the *Warnings* buffer is displayed.
Thanks a lot for the package and any help you could bring!
Expected behavior: the Warnings buffer should not be displayed. Seen behavior: the Warnings buffer is displayed.
The 'hide' setting only applies once, when the buffer is created. If you want the window to never show at all, you can add a display-buffer-alist entry for "\Warnings\".