Function: denote--file-types-with-extension

denote--file-types-with-extension is a byte-compiled function defined in denote.el.

Signature

(denote--file-types-with-extension EXTENSION)

Documentation

Return only the entries of denote-file-types with EXTENSION.

See the format of denote-file-types.

Source Code

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

;;;;; Common helpers for note modifications

(defun denote--file-types-with-extension (extension)
  "Return only the entries of `denote-file-types' with EXTENSION.
See the format of `denote-file-types'."
  (seq-filter (lambda (type)
                (string-equal (plist-get (cdr type) :extension) extension))
              denote-file-types))