]> git.eshelyaron.com Git - emacs.git/commit
When navigating Flymake diagnostics, consider their severity
authorJoão Távora <joaotavora@gmail.com>
Tue, 5 Jun 2018 16:20:43 +0000 (17:20 +0100)
committerJoão Távora <joaotavora@gmail.com>
Tue, 5 Jun 2018 16:36:21 +0000 (17:36 +0100)
commit4a51deb993d923767f0eddd4f350e636fe8d7c0b
tree0e883da5b2bfb30642aacf2dc9a21d0d8090526a
parentfa794d1b603e52e2a80d69c5610b782904ee6a69
When navigating Flymake diagnostics, consider their severity

The FILTER arg of flymake-goto-next-error, a list of types, includes
every diagnostic with a severity number `eq` to those types.

* lisp/progmodes/flymake.el (flymake--severity): New helper.
(flymake-goto-next-error, flymake-goto-prev-error): Clarify
meaning of FILTER.
(flymake-goto-next-error): Interpret filter as a severity filter.
(flymake--mode-line-format): Simplify.
lisp/progmodes/flymake.el