[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/dirvish 91f6df1131 1/2: fix: regression introduced in 4c78
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/dirvish 91f6df1131 1/2: fix: regression introduced in 4c78097 |
Date: |
Mon, 24 Mar 2025 22:00:00 -0400 (EDT) |
branch: elpa/dirvish
commit 91f6df113191fa7ae2c647ba11c16a5b58fe0bf7
Author: Alex Lu <hellosimon1103@hotmail.com>
Commit: Alex Lu <hellosimon1103@hotmail.com>
fix: regression introduced in 4c78097
Use dedicated window for mode-line/header-line.
---
dirvish.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/dirvish.el b/dirvish.el
index ba5fb2a075..d850f62cd3 100644
--- a/dirvish.el
+++ b/dirvish.el
@@ -1380,6 +1380,7 @@ Dirvish sets `revert-buffer-function' to this function."
('preview (setf (dv-preview-window dv) win))
('header (when (and gui? (> hh lh)) (fit-window-to-buffer win 2 1)))
('footer (when (and gui? (> mh lh)) (fit-window-to-buffer win 2 1))))
+ (unless (eq pane 'preview) (set-window-dedicated-p win t))
(set-window-buffer win buf)))
(dirvish--create-parent-windows dv)
(unless (dirvish-prop :cached)