Variable: diff-refine-nonmodified
diff-refine-nonmodified is a customizable variable defined in
diff-mode.el.gz.
Value
nil
Documentation
If non-nil, also highlight the added/removed lines as "refined".
The lines highlighted when this is non-nil are those that were
added or removed in their entirety, as opposed to lines some
parts of which were modified. The added lines are highlighted
using the diff-refine-added face, while the removed lines are
highlighted using the diff-refine-removed face.
This is currently implemented only for diff formats supported
by diff-refine-hunk.
This variable was added, or its default value changed, in Emacs 30.1.
Probably introduced at or before Emacs version 30.1.
Source Code
;; Defined in /usr/src/emacs/lisp/vc/diff-mode.el.gz
(defcustom diff-refine-nonmodified nil
"If non-nil, also highlight the added/removed lines as \"refined\".
The lines highlighted when this is non-nil are those that were
added or removed in their entirety, as opposed to lines some
parts of which were modified. The added lines are highlighted
using the `diff-refine-added' face, while the removed lines are
highlighted using the `diff-refine-removed' face.
This is currently implemented only for diff formats supported
by `diff-refine-hunk'."
:version "30.1"
:type 'boolean)