Function: flymake--update-diagnostics-listings
flymake--update-diagnostics-listings is a byte-compiled function
defined in flymake.el.gz.
Signature
(flymake--update-diagnostics-listings BUFFER)
Documentation
Update diagnostics listings somehow relevant to BUFFER.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/flymake.el.gz
(defun flymake--update-diagnostics-listings (buffer)
"Update diagnostics listings somehow relevant to BUFFER."
(dolist (probe (buffer-list))
(with-current-buffer probe
(when (or (and (eq major-mode 'flymake-project-diagnostics-mode)
flymake--project-diagnostic-list-project
(buffer-file-name buffer)
(memq buffer
(project-buffers flymake--project-diagnostic-list-project)))
(and (eq major-mode 'flymake-diagnostics-buffer-mode)
(eq flymake--diagnostics-buffer-source buffer)))
(revert-buffer)))))