summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-06-28 01:23:53 -0400
committerKyle Meyer <kyle@kyleam.com>2015-06-28 01:31:17 -0400
commiteb1e92647a13a930abfa36a13abfdd2c34f16f53 (patch)
treec1230e0da0fb68e6bac57549af0c6c6493fd8979
parent037bae68d5ca6e6e9783c41e4102704b50f1bf62 (diff)
downloademacs.d-eb1e92647a13a930abfa36a13abfdd2c34f16f53.tar.gz
Add km/god-magit-mode-p to exempt predicates
This should have been added in d786b126284309d.
-rw-r--r--lisp/init-god.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/init-god.el b/lisp/init-god.el
index 04c9a8c..5233bd5 100644
--- a/lisp/init-god.el
+++ b/lisp/init-god.el
@@ -9,6 +9,8 @@
(setq god-exempt-major-modes
(append km/god-exempt-major-modes god-exempt-major-modes))
+(add-to-list 'god-exempt-predicates #'km/god-magit-mode-p)
+
(add-hook 'view-mode-hook (lambda ()
(if view-mode
(god-local-mode-pause)