diff options
author | João Távora <joaotavora@gmail.com> | 2017-09-27 12:42:20 +0100 |
---|---|---|
committer | João Távora <joaotavora@gmail.com> | 2017-10-03 14:18:54 +0100 |
commit | 73601787b45d08cdd5026ea36ff680bd49076950 (patch) | |
tree | cc6161f0f10f6ec97e8b43d582b1c73395617935 /lisp/emacs-lisp/find-func.el | |
parent | 5ec7d738655db209ef7375e340d3d2b0ae5fc3da (diff) | |
download | emacs-73601787b45d08cdd5026ea36ff680bd49076950.tar.gz emacs-73601787b45d08cdd5026ea36ff680bd49076950.tar.bz2 emacs-73601787b45d08cdd5026ea36ff680bd49076950.zip |
Tweak Flymake commands flymake-goto-[next/prev]-error
Add filters, useful for backends like the upcoming
flymake-elisp-checkdoc backend, for example, which litters everything
with low-priority notes.
Also re-implement wraparound for flymake-goto-next-error. Manual
mentions this, so it's probably a good idea to keep it. Added a new
customization variable flymake-wrap-around to control it.
* lisp/progmodes/flymake.el (flymake-goto-prev-error)
(flymake-goto-next-error): Accept FILTER argument.
(flymake-wrap-around): New variable.
(flymake-goto-next-error): Wrap around according to flymake-wrap-around.
* test/lisp/progmodes/flymake-tests.el
(different-diagnostic-types, dummy-backends): Pass FILTER to
flymake-goto-prev-error.
(different-diagnostic-types)
(dummy-backends): Use flymake-wrap-around.
Diffstat (limited to 'lisp/emacs-lisp/find-func.el')
0 files changed, 0 insertions, 0 deletions