Function: denote-extract-keywords-from-path

denote-extract-keywords-from-path is a byte-compiled function defined in denote.el.

Signature

(denote-extract-keywords-from-path PATH)

Documentation

Extract keywords from PATH and return them as a list of strings.

PATH must be a Denote-style file name where keywords are prefixed with an underscore.

If PATH has no such keywords, return nil.

Also see denote-retrieve-filename-keywords.

Aliases

denote-retrieve-filename-keywords-as-list

Source Code

;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
;;;; Keywords

(defun denote-extract-keywords-from-path (path)
  "Extract keywords from PATH and return them as a list of strings.
PATH must be a Denote-style file name where keywords are prefixed
with an underscore.

If PATH has no such keywords, return nil.

Also see `denote-retrieve-filename-keywords'."
  (when-let* ((kws (denote-retrieve-filename-keywords path)))
    (split-string kws "_" :omit-nulls)))