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

    docs: mention new options in `dirvish-side`
---
 docs/EXTENSIONS.org        | 3 +++
 extensions/dirvish-peek.el | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/docs/EXTENSIONS.org b/docs/EXTENSIONS.org
index 7fcb02c194..1153d6f6de 100644
--- a/docs/EXTENSIONS.org
+++ b/docs/EXTENSIONS.org
@@ -171,6 +171,9 @@ the appearance of the icons, you have these options:
 This extension provides the ~dirvish-side~ command. It toggles a Dirvish 
session
 as a sidebar in the frame.  These customization options are available:
 
++ ~dirvish-side-attributes~: like ~dirvish-attributes~, but for side window.
++ ~dirvish-side-mode-line-format~: like ~dirvish-mode-line-format~, but for 
side window.
++ ~dirvish-side-header-line-format~: like ~dirvish-header-line-format~, but 
for side window.
 + ~dirvish-side-display-alist~: Display actions for the side window.
 + ~dirvish-side-window-parameters~: Window parameters for the side window.
 + ~dirvish-side-width~: Width of the side window.
diff --git a/extensions/dirvish-peek.el b/extensions/dirvish-peek.el
index 2986184d2b..4e0a9bbf6c 100644
--- a/extensions/dirvish-peek.el
+++ b/extensions/dirvish-peek.el
@@ -80,7 +80,7 @@ one of categories in `dirvish-peek-categories'."
       (dirvish-prop :dv (dv-id new-dv))
       (dirvish-prop :preview-dps
         (if (file-remote-p default-directory) '(dirvish-tramp-dp)
-          (dv-preview-dispatchers dv))))))
+          (dv-preview-dispatchers new-dv))))))
 
 (defun dirvish-peek-update-h ()
   "Hook for `post-command-hook' to update peek window."

Reply via email to