Variable: flymake-indicator-type

flymake-indicator-type is a customizable variable defined in flymake.el.gz.

Value

fringes

Documentation

Indicate which indicator type to use for display errors.

The value can be nil (don't indicate errors but just highlight them), the symbol fringes (use fringes) or the symbol margins (use margins).

Difference between fringes and margin is that fringes support displaying bitmaps on graphical displays and margins display text in a blank area from current buffer that works in both graphical and text displays. Thus, even when fringes is selected, margins will still be used on text displays and also when fringes are disabled.

See Info node (emacs)Fringes and Info node (elisp)Display Margins.

This variable was added, or its default value changed, in Emacs 30.2.

Probably introduced at or before Emacs version 30.1.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/flymake.el.gz
(defcustom flymake-indicator-type 'fringes
  "Indicate which indicator type to use for display errors.

The value can be nil (don't indicate errors but just highlight them),
the symbol `fringes' (use fringes) or the symbol `margins' (use
margins).

Difference between fringes and margin is that fringes support displaying
bitmaps on graphical displays and margins display text in a blank area
from current buffer that works in both graphical and text displays.
Thus, even when `fringes' is selected, margins will still be used on
text displays and also when fringes are disabled.

See Info node `Fringes' and Info node `(elisp)Display Margins'."
  :version "30.2"
  :type '(choice (const :tag "Use Fringes" fringes)
                 (const :tag "Use Margins" margins)
                 (const :tag "No indicators" nil)))