]> git.eshelyaron.com Git - emacs.git/commit
flymake: fall back to margins on text terminals
authorSpencer Baugh <sbaugh@janestreet.com>
Tue, 8 Apr 2025 12:43:37 +0000 (08:43 -0400)
committerEshel Yaron <me@eshelyaron.com>
Sun, 13 Apr 2025 20:51:28 +0000 (22:51 +0200)
commit1849ca711ab3c1d26f8689f20a55ed6509415af2
treebe8cbb0e0e6b0a68023c1582e85186e3d88d2194
parentfc5ee669ce9a9025832769419da43b96e3a72fea
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.

(cherry picked from commit 861e7f8b60e4bf076bf5991d25a22b3a012746bd)
doc/misc/flymake.texi
lisp/progmodes/flymake.el