Function: denote-keywords-prompt

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

Signature

(denote-keywords-prompt &optional PROMPT-TEXT INITIAL-KEYWORDS INFER-FROM-FILES-MATCHING-REGEXP)

Documentation

Prompt for one or more keywords.

Read entries as separate when they are demarcated by the crm-separator, which typically is a comma.

With optional PROMPT-TEXT, use it to prompt the user for keywords. Else use a generic prompt. With optional INITIAL-KEYWORDS use them as the initial minibuffer text.

With optional INFER-FROM-FILES-MATCHING-REGEXP, only infer keywords from files that match the given regular expression, per the function denote-keywords.

Return an empty list if the minibuffer input is empty.

Source Code

;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
(defun denote-keywords-prompt (&optional prompt-text initial-keywords infer-from-files-matching-regexp)
  "Prompt for one or more keywords.
Read entries as separate when they are demarcated by the
`crm-separator', which typically is a comma.

With optional PROMPT-TEXT, use it to prompt the user for keywords.  Else
use a generic prompt.  With optional INITIAL-KEYWORDS use them as the
initial minibuffer text.

With optional INFER-FROM-FILES-MATCHING-REGEXP, only infer keywords from
files that match the given regular expression, per the function
`denote-keywords'.

Return an empty list if the minibuffer input is empty."
  (denote--keywords-crm (denote-keywords infer-from-files-matching-regexp) prompt-text initial-keywords))