diff options
author | Kyle Meyer <kyle@kyleam.com> | 2015-06-29 21:36:54 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2015-06-29 21:36:54 -0400 |
commit | 01460a04c974498319cf2c04aa7293aa61f6d2c5 (patch) | |
tree | 00aa9d82098c6e9939dbb3b8f6bb6581265812ac /lisp | |
parent | 93390f910405a1fa69e4e0973b12eaa8f7640976 (diff) | |
download | emacs.d-01460a04c974498319cf2c04aa7293aa61f6d2c5.tar.gz |
Remove km/god-magit-mode-p
god-magit-mode-p is upstream as of god-mode commit 9993e53c5f115a7.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/init-god.el | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lisp/init-god.el b/lisp/init-god.el index 966a87d..4dc5864 100644 --- a/lisp/init-god.el +++ b/lisp/init-god.el @@ -1,6 +1,5 @@ (require 'god-mode) -(add-to-list 'god-exempt-predicates #'km/god-magit-mode-p) (add-to-list 'god-exempt-predicates #'km/god-gnus-p) (add-hook 'view-mode-hook (lambda () @@ -26,12 +25,6 @@ (defun km/god-update-cursor () (setq cursor-type (if god-local-mode 'bar 'box))) -(defun km/god-magit-mode-p () - "Return non-nil if a Magit-related mode is enabled." - (or global-git-commit-mode - (god-mode-child-of-p major-mode 'magit-popup-mode) - (god-mode-child-of-p major-mode 'magit-mode))) - (defun km/god-gnus-p () "Return non-nil if a Gnus-related mode is enabled." (derived-mode-p 'gnus-group-mode |