diff options
author | João Távora <joaotavora@gmail.com> | 2017-10-19 12:33:20 +0100 |
---|---|---|
committer | João Távora <joaotavora@gmail.com> | 2017-10-19 12:33:20 +0100 |
commit | 46366c45cb1cef5c0cc88bb9a868df88f4ed5c1a (patch) | |
tree | af06ca158134feddd71f5fa524d4b00e4558ee58 /lisp/progmodes/sql.el | |
parent | 4d578d432d4cf1e6826f3c07d119017940dd8e6e (diff) | |
download | emacs-scratch/flymake-augment-api.tar.gz |
Augment Flymake API for third-party extensionsscratch/flymake-augment-api
See
https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00619.html
* doc/misc/flymake.texi (Flymake error types): Rewrite
example.
(Flymake utility functions): Augment with new API.
* lisp/progmodes/flymake.el (flymake-diagnostics): New function.
(flymake--diag-accessor): New helper macro.
(flymake-diagnostic-buffer, flymake-diagnostic-text)
(flymake-diagnostic-beg, flymake-diagnostic-end)
(flymake-diagnostic-backend): Accessors for diagnostic objects.
(flymake--overlays): Use flymake-diagnostic property.
(flymake--highlight-line): Simplify. Only set
flymake-diagnostic property.
(flymake--handle-report, flymake-goto-next-error): Use
flymake-diagnostic property.
(flymake-show-diagnostic): Use diagnostic object.
(flymake--diagnostics-buffer-entries): Use
flymake-diagnostics.
Diffstat (limited to 'lisp/progmodes/sql.el')
0 files changed, 0 insertions, 0 deletions