summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-06-19 00:58:14 -0400
committerKyle Meyer <kyle@kyleam.com>2014-06-19 00:58:14 -0400
commitddb0ae54730b83f77ec7e44b0a58f3967dbcf0f0 (patch)
treebabbaf8d78456407f278018062fae89c0d84243d
parentc9bae126774c744837b87c4526d469429da5d284 (diff)
downloademacs.d-ddb0ae54730b83f77ec7e44b0a58f3967dbcf0f0.tar.gz
Protect diff-mode-map with 'after'
-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)