diff options
| author | Spencer Baugh | 2025-04-08 08:43:37 -0400 |
|---|---|---|
| committer | Eli Zaretskii | 2025-04-12 14:10:19 +0300 |
| commit | 861e7f8b60e4bf076bf5991d25a22b3a012746bd (patch) | |
| tree | 2dc6ae31e8931363958982243fa40cfa1ba344d4 /doc | |
| parent | 3b841700a8bef1d5b16542679458ddfb588ea777 (diff) | |
| download | emacs-861e7f8b60e4bf076bf5991d25a22b3a012746bd.tar.gz emacs-861e7f8b60e4bf076bf5991d25a22b3a012746bd.zip | |
flymake: fall back to margins on text terminals
Previously, flymake-indicator-type defaulted to either fringes
or margins. But fringes should be used on graphical frames, and
margins on TTY frames. So default to fringes instead, and
simply fall back to margins automatically on text frames.
* lisp/progmodes/flymake.el (flymake-indicator-type): Set to
fringes. (bug#77313)
(flymake-mode): Fallback to margins if there's no fringes.
* doc/misc/flymake.texi (Customizable variables): Mention
fallback behavior.
* etc/NEWS: Announce fallback behavior.
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 54835767928..668a72b4cd1 100644 --- a/doc/misc/flymake.texi +++ b/doc/misc/flymake.texi | |||
| @@ -313,6 +313,9 @@ The indicator type which Flymake should use to indicate lines with | |||
| 313 | errors or warnings. | 313 | errors or warnings. |
| 314 | Depending on your preference, this can either use @code{fringes} or | 314 | Depending on your preference, this can either use @code{fringes} or |
| 315 | @code{margins} for indicating errors. | 315 | @code{margins} for indicating errors. |
| 316 | If set to @code{fringes} (the default), it will automatically fall back | ||
| 317 | to using margins in windows or frames without fringes, such as text | ||
| 318 | terminals. | ||
| 316 | 319 | ||
| 317 | @item flymake-error-bitmap | 320 | @item flymake-error-bitmap |
| 318 | A bitmap used in the fringe to mark lines for which an error has | 321 | A bitmap used in the fringe to mark lines for which an error has |