branch: externals/consult-denote commit 4e0efa66d63b50feeaf36188667b74263bd7dc68 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Reposition a comment --- consult-denote.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/consult-denote.el b/consult-denote.el index c500c069fa..60366cd1ac 100644 --- a/consult-denote.el +++ b/consult-denote.el @@ -73,8 +73,9 @@ aforementioned function." (_ (when included-cpd (setq substrings (cons "./" substrings)))) (new-collection (denote--completion-table 'file substrings)) + ;; We populate the history ourselves because we process the input. (input - (consult--read new-collection ; We populate the history ourselves because we process the input + (consult--read new-collection :state (consult--file-preview) :prompt prompt)) ;; FIXME 2024-05-08: Is there some elegant way to do this?