Function: org-cite-key-boundaries
org-cite-key-boundaries is a byte-compiled function defined in
oc.el.gz.
Signature
(org-cite-key-boundaries REFERENCE)
Documentation
Return citation REFERENCE's key boundaries as buffer positions.
The function returns a pair (START . END) where START and END denote positions in the current buffer. Positions include leading "@" character.
Source Code
;; Defined in /usr/src/emacs/lisp/org/oc.el.gz
(defun org-cite-key-boundaries (reference)
"Return citation REFERENCE's key boundaries as buffer positions.
The function returns a pair (START . END) where START and END denote positions
in the current buffer. Positions include leading \"@\" character."
(org-with-point-at (org-element-property :begin reference)
(let ((end (org-element-property :end reference)))
(re-search-forward org-element-citation-key-re end t)
(cons (match-beginning 0) (match-end 0)))))