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

denote-file-is-in-denote-directory-p is a natively 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 /nix/store/yld6spsps5sfn9w4rjyhkvqlvdgsmvpq-emacs-packages-deps/share/emacs/site-lisp/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)))