Function: flymake-diagnostics
flymake-diagnostics is an autoloaded and byte-compiled function
defined in flymake.el.gz.
Signature
(flymake-diagnostics &optional BEG END)
Documentation
Get Flymake diagnostics in region determined by BEG and END.
If neither BEG or END is supplied, use whole accessible buffer, otherwise if BEG is non-nil and END is nil, consider only diagnostics at BEG.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/flymake.el.gz
;;;###autoload
(defun flymake-diagnostics (&optional beg end)
"Get Flymake diagnostics in region determined by BEG and END.
If neither BEG or END is supplied, use whole accessible buffer,
otherwise if BEG is non-nil and END is nil, consider only
diagnostics at BEG."
(mapcar (lambda (ov) (overlay-get ov 'flymake-diagnostic))
(flymake--overlays :beg beg :end end)))