Function: org-lint--display-reports

org-lint--display-reports is a byte-compiled function defined in org-lint.el.gz.

Signature

(org-lint--display-reports SOURCE CHECKERS)

Documentation

Display linting reports for buffer SOURCE.

CHECKERS is the list of checkers used.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-lint.el.gz
(defun org-lint--display-reports (source checkers)
  "Display linting reports for buffer SOURCE.
CHECKERS is the list of checkers used."
  (let ((buffer (get-buffer-create "*Org Lint*")))
    (with-current-buffer buffer
      (org-lint--report-mode)
      (setf org-lint--source-buffer source)
      (setf org-lint--local-checkers checkers)
      (org-lint--refresh-reports)
      (add-hook 'tabulated-list-revert-hook #'org-lint--refresh-reports nil t))
    (pop-to-buffer buffer)))