branch: externals/consult-denote
commit 7ba7fe129cd2a41bf934a4564952aad07ba060e9
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Make consult-denote-find always preview files
    
    Thanks to hapst3r for discussing this with me in issue 6:
    <https://github.com/protesilaos/consult-denote/issues/6>.
---
 consult-denote.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/consult-denote.el b/consult-denote.el
index d5beab5a1f..1bcbd1d873 100644
--- a/consult-denote.el
+++ b/consult-denote.el
@@ -190,6 +190,8 @@ FILE has the same meaning as in 
`denote-org-extras-outline-prompt'."
   (interactive)
   (funcall-interactively consult-denote-find-command (denote-directory)))
 
+(consult-customize consult-denote-find :state (consult--file-preview))
+
 ;;;; Integrate with denote.el
 
 (defvar consult-denote-buffer-history nil)

Reply via email to