branch: externals/denote
commit 6751c1b9998c2959ff09c1383ec301de12e979eb
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>

    Use file prompt metadata for denote-select-from-files-prompt as well
---
 denote.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/denote.el b/denote.el
index 993c2dd947..36a219266d 100644
--- a/denote.el
+++ b/denote.el
@@ -5459,7 +5459,7 @@ the generic one."
                        files))
          (selected (completing-read
                     (format-prompt (or prompt-text "Select file among files") 
nil)
-                    (denote-get-completion-table file-names '(category . file))
+                    (apply 'denote-get-completion-table file-names 
denote-file-prompt-extra-metadata)
                     nil t nil 'denote-link-find-file-history)))
     (if single-dir-p
         (expand-file-name selected (car roots))

Reply via email to