diff options
| author | João Távora | 2025-04-18 19:43:45 +0100 |
|---|---|---|
| committer | João Távora | 2025-04-20 23:20:33 +0100 |
| commit | ed1311a62a4e02817e548b0873ab21114047c076 (patch) | |
| tree | f8cde8c3473983e5f1d3fae93be54a6cb5b36c0b /doc | |
| parent | 0fe05a920adc457d6f4adca71979059b8e2d0253 (diff) | |
| download | emacs-ed1311a62a4e02817e548b0873ab21114047c076.tar.gz emacs-ed1311a62a4e02817e548b0873ab21114047c076.zip | |
Flymake: new flymake-diagnostic-format-alist (bug#77439, bug#77480)
* lisp/progmodes/flymake.el (flymake-diagnostic-text): Overhaul.
(flymake-diagnostic-format-alist): New defcustom.
(flymake--diagnostic-format): New util.
(flymake--eol-overlay-summary)
(flymake--highlight-line)
(flymake-eldoc-function): Use flymake--diagnostic-format.
(flymake--tabulated-diagnostic-origin): New helper.
(flymake--tabulated-entries-1): Use flymake--tabulated-diagnostic-origin.
(flymake--diagnostics-base-tabulated-list-format): "Backend" -> "Origin"
* doc/misc/flymake.texi (Customizable variable): Mention new variable.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/misc/flymake.texi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/misc/flymake.texi b/doc/misc/flymake.texi index 0e43df17aa2..dd60e0a1bca 100644 --- a/doc/misc/flymake.texi +++ b/doc/misc/flymake.texi | |||
| @@ -351,6 +351,9 @@ distracting and easily confused with actual code, or a significant | |||
| 351 | early aid that relieves you from moving around or reaching for the | 351 | early aid that relieves you from moving around or reaching for the |
| 352 | mouse to consult an error message. | 352 | mouse to consult an error message. |
| 353 | 353 | ||
| 354 | @item flymake-diagnostic-format-alist | ||
| 355 | Control which parts of a diagnostic to show in various situations. | ||
| 356 | |||
| 354 | @item flymake-error-eol | 357 | @item flymake-error-eol |
| 355 | A custom face for summarizing diagnostic error messages. | 358 | A custom face for summarizing diagnostic error messages. |
| 356 | 359 | ||