branch: externals/denote-sequence
commit 94c4606dca873c9d2be723a1eb449054909a3b02
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Use denote-file completion category instead of file
In denote.git I take care to register denote-file with the packages
that display icons per category. We should be good with this.
---
denote-sequence.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/denote-sequence.el b/denote-sequence.el
index bdf32bc6b6..a9135ef0f1 100644
--- a/denote-sequence.el
+++ b/denote-sequence.el
@@ -841,7 +841,7 @@ function can remove it, such as with
`denote-file-prompt-group'."
;; subject to the `completion-category-overrides'. This is a
;; problem because the user will want to, for example, sort
;; directories before files, but then we cannot have our sort here.
- (cons 'category 'file)
+ (cons 'category 'denote-file)
(cons 'group-function #'denote-sequence-file-prompt-group)
(cons 'affixation-function #'denote-sequence-file-prompt-affixate)
(cons 'display-sort-function #'denote-sequence-sort-files))