Function: org-roam-id-at-point

org-roam-id-at-point is a byte-compiled function defined in org-roam-id.el.

Signature

(org-roam-id-at-point)

Documentation

Return the ID at point, if any.

Recursively traverses up the headline tree to find the first encapsulating ID.

Source Code

;; Defined in ~/.emacs.d/elpa/org-roam-20260224.1637/org-roam-id.el
(defun org-roam-id-at-point ()
  "Return the ID at point, if any.
Recursively traverses up the headline tree to find the
first encapsulating ID."
  (org-with-wide-buffer
   (org-back-to-heading-or-point-min t)
   (while (and (not (org-roam-db-node-p))
               (not (bobp)))
     (org-roam-up-heading-or-point-min))
   (when (org-roam-db-node-p)
     (org-id-get))))