Variable: flymake--state

flymake--state is a buffer-local variable defined in flymake.el.gz.

Documentation

State of a buffer's multiple Flymake backends.

The keys to this hash table are functions as found in flymake-diagnostic-functions. The values are structures of the type flymake--state, with these slots:

running, a symbol to keep track of a backend's replies via its REPORT-FN argument. A backend is running if this key is present. If nil, Flymake isn't expecting any replies from the backend.

diags, a (possibly empty) list of recent diagnostic objects created by the backend with flymake-make-diagnostic.

reported-p, a boolean indicating if the backend has replied since it last was contacted.

disabled, a string with the explanation for a previous exceptional situation reported by the backend, nil if the backend is operating normally.

foreign-diags, a hash table of buffers/files to collections of diagnostics outside the buffer where this flymake--state pertains.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/flymake.el.gz
(defvar-local flymake--state nil
  "State of a buffer's multiple Flymake backends.
The keys to this hash table are functions as found in
`flymake-diagnostic-functions'.  The values are structures
of the type `flymake--state', with these slots:

`running', a symbol to keep track of a backend's replies via its
REPORT-FN argument.  A backend is running if this key is
present.  If nil, Flymake isn't expecting any replies from the
backend.

`diags', a (possibly empty) list of recent diagnostic objects
created by the backend with `flymake-make-diagnostic'.

`reported-p', a boolean indicating if the backend has replied
since it last was contacted.

`disabled', a string with the explanation for a previous
exceptional situation reported by the backend, nil if the
backend is operating normally.

`foreign-diags', a hash table of buffers/files to
collections of diagnostics outside the buffer where this
`flymake--state' pertains.")