Function: org-cite--keys-to-citation

org-cite--keys-to-citation is a byte-compiled function defined in oc.el.gz.

Signature

(org-cite--keys-to-citation KEYS)

Documentation

Build a citation object from a list of citation KEYS.

Citation keys are strings without the leading "@".

Source Code

;; Defined in /usr/src/emacs/lisp/org/oc.el.gz
(defun org-cite--keys-to-citation (keys)
  "Build a citation object from a list of citation KEYS.
Citation keys are strings without the leading \"@\"."
  (apply #'org-element-create
         'citation
         nil
         (mapcar (lambda (k)
                   (org-element-create 'citation-reference (list :key k)))
                 keys)))