mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-05 18:20:29 -08:00
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:
parent
760a92e952
commit
16dd6f8674
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ Fixes #3939: unsortable dired entries on Windows."
|
||||||
(advice-add #'dired-noselect :around #'dirvish-dired-noselect-a)
|
(advice-add #'dired-noselect :around #'dirvish-dired-noselect-a)
|
||||||
:config
|
:config
|
||||||
(dirvish-override-dired-mode)
|
(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
|
;; 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
|
;; to dired buffers where the file is opened from. In other cases, don't
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue