branch: externals/denote commit 8e973f12ad0d449dfe173a6f46ef309be2b78367 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Use format-prompt in denote-select-from-files-prompt --- denote.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/denote.el b/denote.el index 01a0bd0429..15a8f2bd3e 100644 --- a/denote.el +++ b/denote.el @@ -4905,7 +4905,7 @@ With optional PROMPT-TEXT use it for the minibuffer prompt instead of the generic one." (let* ((file-names (mapcar #'denote-get-file-name-relative-to-denote-directory files)) (selected (completing-read - (or prompt-text "Select file among files: ") + (format-prompt (or prompt-text "Select file among files") nil) (denote--completion-table 'file file-names) nil t nil 'denote-link-find-file-history))) (expand-file-name selected (denote-directory))))