Function: org-cite-basic--get-author

org-cite-basic--get-author is a byte-compiled function defined in oc-basic.el.gz.

Signature

(org-cite-basic--get-author ENTRY-OR-KEY &optional INFO RAW)

Documentation

Return author associated to ENTRY-OR-KEY.

ENTRY-OR-KEY, INFO and RAW arguments are the same arguments as used in org-cite-basic--get-field, which see.

Author is obtained from the "author" field, if available, or from the "editor" field otherwise.

Source Code

;; Defined in /usr/src/emacs/lisp/org/oc-basic.el.gz
(defun org-cite-basic--get-author (entry-or-key &optional info raw)
  "Return author associated to ENTRY-OR-KEY.

ENTRY-OR-KEY, INFO and RAW arguments are the same arguments as
used in `org-cite-basic--get-field', which see.

Author is obtained from the \"author\" field, if available, or
from the \"editor\" field otherwise."
  (or (org-cite-basic--get-field 'author entry-or-key info raw)
      (org-cite-basic--get-field 'editor entry-or-key info raw)))