branch: externals/denote-sequence
commit f9deeb3215423273834cd76399495ce190a831b8
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Use new denote-get-completion-table per denote.git commit 4fe3cf1
---
denote-sequence.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/denote-sequence.el b/denote-sequence.el
index a83f505cd9..3a3e6710bd 100644
--- a/denote-sequence.el
+++ b/denote-sequence.el
@@ -799,7 +799,7 @@ instead of the default `denote-sequence-annotate-types'."
(intern
(completing-read
(format-prompt (or prompt-text "Select sequence type") default)
- (denote--completion-table 'denote-sequence-type (or types
denote-sequence-types))
+ (denote-get-completion-table (or types denote-sequence-types) '(category
. denote-sequence-type))
nil :require-match nil
'denote-sequence-type-history default))))
@@ -819,7 +819,7 @@ completion candidates. Else use
`denote-sequence-get-all-files'."
(prompt (format-prompt (or prompt-text "Select FILE with
sequence") nil))
(input (completing-read
prompt
- (denote--completion-table 'file relative-files)
+ (denote-get-completion-table relative-files '(category .
file))
nil :require-match
nil 'denote-sequence-file-history)))
(expand-file-name input (car (denote-directories)))