aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/diff-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/diff-mode.el')
-rw-r--r--lisp/diff-mode.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/diff-mode.el b/lisp/diff-mode.el
index 27f8318f91c..907bf7d5b83 100644
--- a/lisp/diff-mode.el
+++ b/lisp/diff-mode.el
@@ -97,6 +97,9 @@ when editing big diffs)."
97 :options '(diff-delete-empty-files diff-make-unified) 97 :options '(diff-delete-empty-files diff-make-unified)
98 :group 'diff-mode) 98 :group 'diff-mode)
99 99
100(defvar diff-vc-backend nil
101 "The VC backend that created the current Diff buffer, if any.")
102
100(defvar diff-outline-regexp 103(defvar diff-outline-regexp
101 "\\([*+][*+][*+] [^0-9]\\|@@ ...\\|\\*\\*\\* [0-9].\\|--- [0-9]..\\)") 104 "\\([*+][*+][*+] [^0-9]\\|@@ ...\\|\\*\\*\\* [0-9].\\|--- [0-9]..\\)")
102 105
@@ -138,6 +141,7 @@ when editing big diffs)."
138 ;; Standard M-r is useful, so don't change M-r or M-R. 141 ;; Standard M-r is useful, so don't change M-r or M-R.
139 ;;("r" . diff-restrict-view) 142 ;;("r" . diff-restrict-view)
140 ;;("R" . diff-reverse-direction) 143 ;;("R" . diff-reverse-direction)
144 ("g" . revert-buffer)
141 ("q" . quit-window)) 145 ("q" . quit-window))
142 "Basic keymap for `diff-mode', bound to various prefix keys.") 146 "Basic keymap for `diff-mode', bound to various prefix keys.")
143 147