Function: denote-keywords
denote-keywords is a byte-compiled function defined in denote.el.
Signature
(denote-keywords &optional FILES-MATCHING-REGEXP)
Documentation
Return appropriate list of keyword candidates.
If denote-infer-keywords is non-nil, infer keywords from existing
notes and combine them into a list with denote-known-keywords. Else
use only the latter.
In the case of keyword inferrence, use optional FILES-MATCHING-REGEXP, to extract keywords only from the matching files. Otherwise, do it for all files.
Filter inferred keywords per denote-keywords-to-not-infer-regexp.
Source Code
;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
(defun denote-keywords (&optional files-matching-regexp)
"Return appropriate list of keyword candidates.
If `denote-infer-keywords' is non-nil, infer keywords from existing
notes and combine them into a list with `denote-known-keywords'. Else
use only the latter.
In the case of keyword inferrence, use optional FILES-MATCHING-REGEXP,
to extract keywords only from the matching files. Otherwise, do it for
all files.
Filter inferred keywords per `denote-keywords-to-not-infer-regexp'."
(delete-dups
(if denote-infer-keywords
(append (denote-infer-keywords-from-files files-matching-regexp) denote-known-keywords)
denote-known-keywords)))