Variable: magit-diff-unmarked-lines-keep-foreground

magit-diff-unmarked-lines-keep-foreground is a customizable variable defined in magit-diff.el.

Value

t

Documentation

Whether magit-diff-highlight-hunk-region-dim-outside preserves foreground.

When this is set to nil, then that function only adjusts the foreground color but added and removed lines outside the region keep their distinct foreground colors.

This variable was added, or its default value changed, in magit version 2.9.0.

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-diff.el
(defcustom magit-diff-unmarked-lines-keep-foreground t
  "Whether `magit-diff-highlight-hunk-region-dim-outside' preserves foreground.
When this is set to nil, then that function only adjusts the
foreground color but added and removed lines outside the region
keep their distinct foreground colors."
  :package-version '(magit . "2.9.0")
  :group 'magit-diff
  :type 'boolean)