summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp
diff options
context:
space:
mode:
authorJoão Távora <joaotavora@gmail.com>2017-10-19 12:33:20 +0100
committerJoão Távora <joaotavora@gmail.com>2017-10-20 10:00:19 +0100
commit831eafc8ae201881e6449e2ab5d15d594573650b (patch)
tree19da60152fcc2b54485bb25e3b7674fc80c5b534 /test/lisp/emacs-lisp
parentddd547fada112c603dae7a204fa0b141429f1927 (diff)
downloademacs-831eafc8ae201881e6449e2ab5d15d594573650b.tar.gz
emacs-831eafc8ae201881e6449e2ab5d15d594573650b.tar.bz2
emacs-831eafc8ae201881e6449e2ab5d15d594573650b.zip
Augment Flymake API for third-party extensions
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 'test/lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions