diff options
author | João Távora <joaotavora@gmail.com> | 2017-09-21 14:44:13 +0100 |
---|---|---|
committer | João Távora <joaotavora@gmail.com> | 2017-10-03 13:52:24 +0100 |
commit | 54beebb4e0d919c7ee6dcdd7d774d851c35f85b7 (patch) | |
tree | 183a1dc5f749e96ceb4d5d3833b6208dc6cff63e /lisp/emacs-lisp/cursor-sensor.el | |
parent | 491cc4a1bd68c2f651027982e3dfb7545d3e57ab (diff) | |
download | emacs-54beebb4e0d919c7ee6dcdd7d774d851c35f85b7.tar.gz emacs-54beebb4e0d919c7ee6dcdd7d774d851c35f85b7.tar.bz2 emacs-54beebb4e0d919c7ee6dcdd7d774d851c35f85b7.zip |
Flymake highlights GCC info/notes as detected by flymake-proc.el
* lisp/progmodes/flymake-proc.el
(flymake-proc--diagnostics-for-pattern): Rewrite (using cl-loop) to
honour more sophisticated flymake-proc-diagnostic-type-pred.
(flymake-warning-re): Is now an obsolete alias for
flymake-proc-diagnostic-type-pred.
(flymake-proc-diagnostic-type-pred): Rename and augment from
flymake-proc-warning-predicate. (flymake-proc-warning-predicate):
Delete.
* lisp/progmodes/flymake.el (flymake-note): New face.
(flymake-diagnostic-types-alist): Simplify.
(flymake-note): New overlay category.
(flymake--lookup-type-property): Only lookup single keys, not lists.
(flymake--diag-errorp): Rewrite.
(flymake--highlight-line): Use flymake--lookup-type-property.
* test/lisp/progmodes/flymake-tests.el
(different-diagnostic-types): Rename from errors-and-warnings.
Check notes.
(flymake-tests--call-with-fixture): Use
flymake-proc-diagnostic-type-pred.
Diffstat (limited to 'lisp/emacs-lisp/cursor-sensor.el')
0 files changed, 0 insertions, 0 deletions