Function: org-roam-org-ref-path-to-keys

org-roam-org-ref-path-to-keys is a byte-compiled function defined in org-roam-utils.el.

Signature

(org-roam-org-ref-path-to-keys PATH)

Documentation

Return a list of keys given an org-ref cite: PATH.

Accounts for both v2 and v3.

Source Code

;; Defined in ~/.emacs.d/elpa/org-roam-20260224.1637/org-roam-utils.el
;;; Refs
(defun org-roam-org-ref-path-to-keys (path)
  "Return a list of keys given an org-ref cite: PATH.
Accounts for both v2 and v3."
  (cond ((fboundp 'org-ref-parse-cite-path)
         (mapcar (lambda (cite) (plist-get cite :key))
                 (plist-get (org-ref-parse-cite-path path) :references)))
        ((fboundp 'org-ref-split-and-strip-string)
         (org-ref-split-and-strip-string path))))