Function: org-lint-incomplete-citation

org-lint-incomplete-citation is a byte-compiled function defined in org-lint.el.gz.

Signature

(org-lint-incomplete-citation AST)

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-lint.el.gz
(defun org-lint-incomplete-citation (ast)
  (org-element-map ast 'plain-text
    (lambda (text)
      (and (string-match-p org-element-citation-prefix-re text)
           ;; XXX: The code below signals the error at the beginning
           ;; of the paragraph containing the faulty object.  It is
           ;; not very accurate but may be enough for now.
           (list (org-element-property :contents-begin
                                       (org-element-property :parent text))
                 "Possibly incomplete citation markup")))))