diff options
author | João Távora <joaotavora@gmail.com> | 2019-11-02 16:38:53 +0000 |
---|---|---|
committer | João Távora <joaotavora@gmail.com> | 2019-11-02 16:38:53 +0000 |
commit | adb5f45d7bc4612916a5b8e4bd2b92d49119b57a (patch) | |
tree | 7a4f87c4e8023ad8765734d4a2fcab6bff8fe680 /lisp/emacs-lisp/cl-seq.el | |
parent | 455e753a2b8fa2e83d23be1771f3371ba90b85f9 (diff) | |
download | emacs-adb5f45d7bc4612916a5b8e4bd2b92d49119b57a.tar.gz emacs-adb5f45d7bc4612916a5b8e4bd2b92d49119b57a.tar.bz2 emacs-adb5f45d7bc4612916a5b8e4bd2b92d49119b57a.zip |
Allow flymake diagnostic types to have shorter names
Eglot, a third-party package which uses Flymake, has its own
diagnostic types such as 'eglot-error', 'eglot-warning', etc... While
not being too long, they will not fit in the type column of the "list
all diagnostics" buffer. This commit allows diagnostic types to have
user-defined names and also assigns names to the default categories.
* doc/misc/flymake.texi (Flymake error types): Describe
flymake-type-name prop.
* lisp/progmodes/flymake.el (flymake--diagnostics-buffer-entries):
Use type names.
(flymake-error, flymake-warning, flymake-note): Give these
diagnostic categories default type names.
Diffstat (limited to 'lisp/emacs-lisp/cl-seq.el')
0 files changed, 0 insertions, 0 deletions