Variable: diff-use-changed-face

diff-use-changed-face is a variable defined in diff-mode.el.gz.

Value

nil

Documentation

Controls how changed lines are fontified in context diffs.

If non-nil, use the face diff-changed-unspecified. Otherwise, use the face diff-removed for removed lines, and the face diff-added for added lines.

Probably introduced at or before Emacs version 24.3.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/diff-mode.el.gz
(defvar diff-use-changed-face (and (face-differs-from-default-p 'diff-changed)
				   (not (face-equal 'diff-changed 'diff-added))
				   (not (face-equal 'diff-changed 'diff-removed)))
  "Controls how changed lines are fontified in context diffs.
If non-nil, use the face `diff-changed-unspecified'.  Otherwise,
use the face `diff-removed' for removed lines, and the face
`diff-added' for added lines.")