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

org-roam-capture--new-file-p is a byte-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 ~/.emacs.d/elpa/org-roam-20260224.1637/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))))