branch: externals/denote
commit bc5f10d96399044b9a5ea519157c7d38dcc4cb1b
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Use completion table for denote-command-prompt
---
denote.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/denote.el b/denote.el
index f077217c4b..27916f5132 100644
--- a/denote.el
+++ b/denote.el
@@ -3184,8 +3184,8 @@ This is a reference function for
`denote-get-identifier-function'."
(intern
(completing-read
(format-prompt "Run note-creating Denote command" default)
- denote-commands-for-new-notes nil :require-match
- nil 'denote-command-prompt-history default))))
+ (denote-get-completion-table denote-commands-for-new-notes '(category .
command))
+ nil t nil 'denote-command-prompt-history default))))
;;;;; The `denote' command and its prompts