]> 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>
Tue, 14 Sep 2021 11:22:14 +0000 (12:22 +0100)
commit404023299429a2619c6e4bc5da80eb248d060ef9
treee86501c16ec1bef64f3fbbb1961aac1aa0ea07e8
parent6e100869012da9244679696634cab6b9cac96303
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