Function: denote-signature-prompt

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

Signature

(denote-signature-prompt &optional INITIAL-SIGNATURE PROMPT-TEXT)

Documentation

Prompt for signature string.

With optional INITIAL-SIGNATURE use it as the initial minibuffer text. With optional PROMPT-TEXT use it in the minibuffer instead of the default prompt.

Previous inputs at this prompt are available for minibuffer completion if the user option denote-history-completion-in-prompts is set to a non-nil value.

Source Code

;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
(defun denote-signature-prompt (&optional initial-signature prompt-text)
  "Prompt for signature string.
With optional INITIAL-SIGNATURE use it as the initial minibuffer
text.  With optional PROMPT-TEXT use it in the minibuffer instead
of the default prompt.

Previous inputs at this prompt are available for minibuffer completion
if the user option `denote-history-completion-in-prompts' is set to a
non-nil value."
  (when (and initial-signature (string-empty-p initial-signature))
    (setq initial-signature nil))
  (denote--with-conditional-completion
   'denote-signature-prompt
   (format-prompt (or prompt-text "New file SIGNATURE") nil)
   denote-signature-history
   initial-signature))