Function: eglot--flymake-report-2

eglot--flymake-report-2 is a byte-compiled function defined in eglot.el.gz.

Signature

(eglot--flymake-report-2 DIAGS MODE)

Documentation

Really report the Flymake diagnostics objects DIAGS.

MODE is like eglot--flymake-report-1.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/eglot.el.gz
(cl-defun eglot--flymake-report-2 (diags mode)
  "Really report the Flymake diagnostics objects DIAGS.
MODE is like `eglot--flymake-report-1'."
  (apply eglot--flymake-report-fn
         diags
         (cond ((eq mode :clear)
                `(:region ,(cons (point-min) (point-max))))
               ((eq mode :stay)
                `(:region ,(cons (point-min) (point-min)))))))