Variable: denote-file-prompt-extra-metadata
denote-file-prompt-extra-metadata is a variable defined in denote.el.
Value
((category . denote-file) (group-function . denote-file-prompt-group)
(affixation-function . denote-file-prompt-affixate)
(display-sort-function . denote-file-prompt-sort))
Documentation
Extra completion-metadata for the denote-file-prompt.
Source Code
;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
(defvar denote-file-prompt-extra-metadata
(list
;; NOTE 2025-12-15: If we use the `file' category, then we are
;; 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 'denote-file)
(cons 'group-function #'denote-file-prompt-group)
(cons 'affixation-function #'denote-file-prompt-affixate)
(cons 'display-sort-function #'denote-file-prompt-sort))
"Extra `completion-metadata' for the `denote-file-prompt'.")