Function: denote--prompt-with-completion-p

denote--prompt-with-completion-p is a byte-compiled function defined in denote.el.

Signature

(denote--prompt-with-completion-p FN)

Documentation

Return non-nil if FN prompt should perform completion.

FN is one among denote-prompts-with-history-as-completion and performs completion when the user option denote-history-completion-in-prompts is non-nil.

Source Code

;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
;;;;; The `denote' command and its prompts

(defun denote--prompt-with-completion-p (fn)
  "Return non-nil if FN prompt should perform completion.
FN is one among `denote-prompts-with-history-as-completion' and performs
completion when the user option `denote-history-completion-in-prompts'
is non-nil."
  (and denote-history-completion-in-prompts
       (memq fn denote-prompts-with-history-as-completion)))