diff options
author | João Távora <joaotavora@gmail.com> | 2017-09-27 02:31:58 +0100 |
---|---|---|
committer | João Távora <joaotavora@gmail.com> | 2017-10-03 14:18:54 +0100 |
commit | e0df7b9699539a6831dd7d72d6845d2995fb619e (patch) | |
tree | f94fa89ece1463c79b0e015fa95f4d2fc12b9b9b /lisp/emacs-lisp/find-func.el | |
parent | 73601787b45d08cdd5026ea36ff680bd49076950 (diff) | |
download | emacs-e0df7b9699539a6831dd7d72d6845d2995fb619e.tar.gz emacs-e0df7b9699539a6831dd7d72d6845d2995fb619e.tar.bz2 emacs-e0df7b9699539a6831dd7d72d6845d2995fb619e.zip |
Fancy Flymake mode-line construct displays status
Imitates compilation-mode's mode-line a bit, and uses its faces.
* lisp/progmodes/flymake.el
(flymake-error, flymake-warning, flymake-note): Add
mode-line-face to these flymake error types.
(flymake-note): Notes don't need a noisy fringe bitmap.
(flymake-lighter): Delete.
(flymake--update-lighter): Delete.
(flymake--mode-line-format): New function and variable.
(flymake--diagnostics-table): New buffer-local variable.
(flymake--handle-report): Don't update "lighters". Affect
flymake--diagnostics-table.
(flymake--run-backend): Init flymake--diagnostics-table for backend.
(flymake-mode): Use flymake--mode-line-format.
(flymake-mode): Don't update lighter.
(flymake--highlight-line): Be more careful when overriding a
nil default overlay property.
Diffstat (limited to 'lisp/emacs-lisp/find-func.el')
0 files changed, 0 insertions, 0 deletions