Function: denote-identifier-prompt
denote-identifier-prompt is a byte-compiled function defined in
denote.el.
Signature
(denote-identifier-prompt &optional INITIAL-IDENTIFIER PROMPT-TEXT)
Documentation
Prompt for identifier string.
With optional INITIAL-IDENTIFIER 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-identifier-prompt (&optional initial-identifier prompt-text)
"Prompt for identifier string.
With optional INITIAL-IDENTIFIER 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-identifier (string-empty-p initial-identifier))
(setq initial-identifier nil))
(denote--with-conditional-completion
'denote-identifier-prompt
(format-prompt (or prompt-text "New file IDENTIFIER") nil)
denote-identifier-history
initial-identifier))