Function: org-cite-follow

org-cite-follow is a byte-compiled function defined in oc.el.gz.

Signature

(org-cite-follow DATUM ARG)

Documentation

Follow citation or citation-reference DATUM.

Following is done according to the processor set in org-cite-follow-processor. ARG is the prefix argument received when calling org-open-at-point, or nil.

Source Code

;; Defined in /usr/src/emacs/lisp/org/oc.el.gz
;;; Internal interface with `org-open-at-point' (follow capability)
(defun org-cite-follow (datum arg)
  "Follow citation or citation-reference DATUM.
Following is done according to the processor set in `org-cite-follow-processor'.
ARG is the prefix argument received when calling `org-open-at-point', or nil."
  (unless org-cite-follow-processor
    (user-error "No processor set to follow citations"))
  (org-cite-try-load-processor org-cite-follow-processor)
  (let ((name org-cite-follow-processor))
    (cond
     ((not (org-cite-get-processor name))
      (user-error "Unknown processor %S" name))
     ((not (org-cite-processor-has-capability-p name 'follow))
      (user-error "Processor %S cannot follow citations" name))
     (t
      (let ((follow (org-cite-processor-follow (org-cite-get-processor name))))
        (funcall follow datum arg))))))