Be precise in the denote-file-prompt-extra-metadata docstring

This commit is contained in:
Protesilaos 2026-05-21 20:09:22 +03:00
parent 13b2164369
commit 30c0d6536e
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA

View file

@ -1536,8 +1536,7 @@ Use the identifier as a prefix and the keywords as a suffix."
(cons 'group-function #'denote-file-prompt-group) (cons 'group-function #'denote-file-prompt-group)
(cons 'affixation-function #'denote-file-prompt-affixate) (cons 'affixation-function #'denote-file-prompt-affixate)
(cons 'display-sort-function #'denote-file-prompt-sort)) (cons 'display-sort-function #'denote-file-prompt-sort))
"Extra `completion-metadata' for the `denote-file-prompt'. "Extra `completion-metadata' for the `denote-file-prompt'.")
This is in addition to the completion category, which is constant.")
(with-eval-after-load 'all-the-icons (with-eval-after-load 'all-the-icons
(cl-defmethod all-the-icons-completion-get-icon (cand (_cat (eql denote-file))) (cl-defmethod all-the-icons-completion-get-icon (cand (_cat (eql denote-file)))