Function: flymake-eldoc-function

flymake-eldoc-function is a byte-compiled function defined in flymake.el.gz.

Signature

(flymake-eldoc-function REPORT-DOC &rest _)

Documentation

Document diagnostics at point.

Intended for eldoc-documentation-functions (which see).

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/flymake.el.gz
(defun flymake-eldoc-function (report-doc &rest _)
  "Document diagnostics at point.
Intended for `eldoc-documentation-functions' (which see)."
  (let ((diags (flymake-diagnostics (point))))
    (when diags
      (funcall report-doc
               (mapconcat #'flymake-diagnostic-text diags "\n")))))