Function: org-roam-capture--new-file-p

org-roam-capture--new-file-p is a natively compiled function defined in org-roam-capture.el.

Signature

(org-roam-capture--new-file-p PATH)

Documentation

Return t if PATH is for a new file with no visiting buffer.

Source Code

;; Defined in /nix/store/60hpqw2cczhjli65ml5v1p4g0q2kbyhb-emacs-packages-deps/share/emacs/site-lisp/elpa/org-roam-20260425.1623/org-roam-capture.el
(defun org-roam-capture--new-file-p (path)
  "Return t if PATH is for a new file with no visiting buffer."
  (not (or (file-exists-p path)
           (org-find-base-buffer-visiting path))))