branch: elpa/dirvish
commit b17fdcb23947f2512d80b693da3d74f93f24f0ff
Author: Alex Lu <hellosimon1...@hotmail.com>
Commit: Alex Lu <hellosimon1...@hotmail.com>

    fix(core): ensure preview initialization
---
 dirvish.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dirvish.el b/dirvish.el
index 7f5f905bcb..8a00695d9f 100644
--- a/dirvish.el
+++ b/dirvish.el
@@ -1416,6 +1416,7 @@ Dirvish sets `revert-buffer-function' to this function."
         (unless (eq pane 'preview) (set-window-dedicated-p win t))
         (set-window-buffer win buf)))
     (dirvish--create-parent-windows dv)
+    (dirvish--run-with-delay 'reset) ; preview initialization
     (dirvish--maybe-toggle-cursor)
     (dirvish--maybe-toggle-details)))
 

Reply via email to