fix(dired): don't treat dirvish-side buffers as popups

If the user has :ui (popup +all) enabled, it will capture dirvish side
buffers and treat them like arbitrary popups, so we correct the default
popup rule to force it to ignore them like we already do with dirvish's
main buffers.

Fix: #8338
This commit is contained in:
Henrik Lissner
2025-04-02 04:22:12 -04:00
parent 760a92e952
commit 16dd6f8674

View File

@ -79,7 +79,7 @@ Fixes #3939: unsortable dired entries on Windows."
(advice-add #'dired-noselect :around #'dirvish-dired-noselect-a)
:config
(dirvish-override-dired-mode)
(set-popup-rule! "^ ?\\*Dirvish.*" :ignore t)
(set-popup-rule! "^ ?\\*\\(?:Dirvish\\|SIDE :: \\).*" :ignore t)
;; Fixes #8038. This setting is for folks who expect to be able to switch back
;; to dired buffers where the file is opened from. In other cases, don't