Function: org-lint-non-existent-bibliography

org-lint-non-existent-bibliography is a byte-compiled function defined in org-lint.el.gz.

Signature

(org-lint-non-existent-bibliography AST)

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-lint.el.gz
(defun org-lint-non-existent-bibliography (ast)
  (org-element-map ast 'keyword
    (lambda (k)
      (when (equal "BIBLIOGRAPHY" (org-element-property :key k))
        (let ((file (org-strip-quotes (org-element-property :value k))))
          (and (not (file-remote-p file))
	       (not (file-exists-p file))
	       (list (org-element-property :begin k)
		     (format "Non-existent bibliography %S" file))))))))