Variable: diff-minor-mode
diff-minor-mode is a buffer-local variable defined in diff-mode.el.gz.
Documentation
Non-nil if Diff minor mode is enabled.
Use the command diff-minor-mode(var)/diff-minor-mode(fun) to change this variable.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/vc/diff-mode.el.gz
;;;###autoload
(define-minor-mode diff-minor-mode
"Toggle Diff minor mode.
\\{diff-minor-mode-map}"
:group 'diff-mode :lighter " Diff"
;; FIXME: setup font-lock
;; setup change hooks
(if (not diff-update-on-the-fly)
(add-hook 'write-contents-functions #'diff-write-contents-hooks nil t)
(make-local-variable 'diff-unhandled-changes)
(add-hook 'after-change-functions #'diff-after-change-function nil t)
(add-hook 'post-command-hook #'diff-post-command-hook nil t)))