Variable: vc-annotate-background-mode
vc-annotate-background-mode is a customizable variable defined in
vc-annotate.el.gz.
Value
nil
Documentation
Non-nil means vc-annotate-color-map is applied to the background.
When non-nil, the color range from vc-annotate-color-map is applied
to the background, while the foreground remains default.
When nil, the color range from vc-annotate-color-map is applied
to the foreground, and the color from the option vc-annotate-background
is applied to the background.
This variable was added, or its default value changed, in Emacs 25.1.
Probably introduced at or before Emacs version 25.1.
Source Code
;; Defined in /usr/src/emacs/lisp/vc/vc-annotate.el.gz
(defcustom vc-annotate-background-mode
(not (or (eq (or frame-background-mode
(frame-parameter nil 'background-mode))
'dark)
(and (tty-display-color-p) (<= (display-color-cells) 8))))
"Non-nil means `vc-annotate-color-map' is applied to the background.
When non-nil, the color range from `vc-annotate-color-map' is applied
to the background, while the foreground remains default.
When nil, the color range from `vc-annotate-color-map' is applied
to the foreground, and the color from the option `vc-annotate-background'
is applied to the background."
:type 'boolean
:set (lambda (symbol value)
(set-default symbol value)
(when (boundp 'vc-annotate-color-map)
(with-demoted-errors "VC color map error: %S"
;; Update the value of the dependent variable.
(custom-reevaluate-setting 'vc-annotate-color-map))))
:version "25.1"
:group 'vc)