]> git.eshelyaron.com Git - emacs.git/commit
Refactor some Flymake functions
authorJoão Távora <joaotavora@gmail.com>
Tue, 31 Aug 2021 17:43:12 +0000 (18:43 +0100)
committerJoão Távora <joaotavora@gmail.com>
Mon, 13 Sep 2021 17:40:56 +0000 (18:40 +0100)
commit0c1cb42b5bb635296c9f98fd23a466177be09c1a
tree85045f63fd41309e9e1828d394e4f79ef279088e
parentc6bc40137f4b08ad4355429048fa00bacac71e38
Refactor some Flymake functions

* lisp/progmodes/flymake.el (flymake-diagnostic-buffer): New
helper.
(flymake-diagnostic-beg, flymake-diagnostic-end): Tweak docstring.
(flymake--handle-report): Simplify.
(flymake--publish-diagnostics): Helper for flymake--handle-report.
(flymake--mode-line-counter, flymake-show-diagnostic)
(flymake--diagnostics-buffer-entries): Use
flymake-diagnostic-buffer, flymake-diagonstic-type,
flymake-diagnostic-beg.
lisp/progmodes/flymake.el