Function: denote-file-is-in-denote-directory-p

denote-file-is-in-denote-directory-p is a byte-compiled function defined in denote.el.

Signature

(denote-file-is-in-denote-directory-p FILE)

Documentation

Return non-nil if FILE is in the variable denote-directory(var)/denote-directory(fun).

Source Code

;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
(defun denote-file-is-in-denote-directory-p (file)
  "Return non-nil if FILE is in the variable `denote-directory'."
  (seq-some
   (lambda (d)
     (string-prefix-p d (expand-file-name file)))
   (denote-directories)))