summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/init-external.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/init-external.el b/lisp/init-external.el
index 8e0f3db..600e414 100644
--- a/lisp/init-external.el
+++ b/lisp/init-external.el
@@ -90,6 +90,7 @@ monitor setup)."
(define-key external-map "d" 'diff)
(define-key external-map "e" 'ediff)
-(define-key diff-mode-map (kbd "C-c C-g") 'km/revert-buffer-and-view)
+(after 'diff
+ (define-key diff-mode-map (kbd "C-c C-g") 'km/revert-buffer-and-view))
(provide 'init-external)