Function: flymake-show-project-diagnostics
flymake-show-project-diagnostics is an interactive and byte-compiled
function defined in flymake.el.gz.
Signature
(flymake-show-project-diagnostics)
Documentation
Show a list of Flymake diagnostics for the current project.
Probably introduced at or before Emacs version 28.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/flymake.el.gz
(defun flymake-show-project-diagnostics ()
"Show a list of Flymake diagnostics for the current project."
(interactive)
(let* ((prj (project-current))
(root (project-root prj))
(buffer (flymake--project-diagnostics-buffer root)))
(with-current-buffer buffer
(flymake-project-diagnostics-mode)
(setq-local flymake--project-diagnostic-list-project prj)
(setq next-error-last-buffer (current-buffer))
(revert-buffer)
(display-buffer (current-buffer)
`((display-buffer-reuse-window
display-buffer-at-bottom)
(window-height . flymake--fit-diagnostics-window))))))