Function: org-id:help
org-id:help is a byte-compiled function defined in hibtypes.el.
Signature
(org-id:help HBUT)
Documentation
Copy link to kill ring of an Org roam or Org node referenced by id at point.
If on the :ID: definition line, do nothing and return nil. If the referenced location is found, return non-nil.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hibtypes.el
(defun org-id:help (_hbut)
"Copy link to kill ring of an Org roam or Org node referenced by id at point.
If on the :ID: definition line, do nothing and return nil.
If the referenced location is found, return non-nil."
(when (featurep 'org-id)
(let ((id (thing-at-point 'symbol t)) ;; Could be a uuid or some other form of id
m
mpos)
;; Remove any "ID:" or "id:" prefix
(when (and id (string-prefix-p "id:" id t))
(setq id (substring id 3)))
;; Ignore ID definitions or when not on a possible ID
(when (and id
(let ((inhibit-message t)) ;; Inhibit `org-id-find' status msgs
(setq m (org-id-find id 'marker))))
(save-excursion
(setq mpos (marker-position m))
(set-buffer (marker-buffer m))
(save-restriction
(widen)
(goto-char mpos)
(kill-new (message (org-id-store-link)))))))))