Function: denote-sort-component-prompt

denote-sort-component-prompt is a byte-compiled function defined in denote.el.

Signature

(denote-sort-component-prompt)

Documentation

Prompt for sorting key among denote-sort-components.

Source Code

;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
(defun denote-sort-component-prompt ()
  "Prompt for sorting key among `denote-sort-components'."
  (let ((default (car denote-sort-component-history))
        (completion-extra-properties (list :annotation-function #'denote-sort-annotate)))
    (intern
     (completing-read
      (format-prompt "Sort by file name component" default)
      (denote-get-completion-table denote-sort-components '(category . denote-sort-component))
      nil t nil 'denote-sort-component-history default))))