aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSpencer Baugh2025-04-08 08:43:37 -0400
committerEli Zaretskii2025-04-12 14:10:19 +0300
commit861e7f8b60e4bf076bf5991d25a22b3a012746bd (patch)
tree2dc6ae31e8931363958982243fa40cfa1ba344d4 /doc
parent3b841700a8bef1d5b16542679458ddfb588ea777 (diff)
downloademacs-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.texi3
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
313errors or warnings. 313errors or warnings.
314Depending on your preference, this can either use @code{fringes} or 314Depending on your preference, this can either use @code{fringes} or
315@code{margins} for indicating errors. 315@code{margins} for indicating errors.
316If set to @code{fringes} (the default), it will automatically fall back
317to using margins in windows or frames without fringes, such as text
318terminals.
316 319
317@item flymake-error-bitmap 320@item flymake-error-bitmap
318A bitmap used in the fringe to mark lines for which an error has 321A bitmap used in the fringe to mark lines for which an error has