diff options
author | Kyle Meyer <kyle@kyleam.com> | 2015-06-28 00:26:34 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2015-06-28 00:26:34 -0400 |
commit | 38df32490ac8de3329396ff957c5367f0f759c5f (patch) | |
tree | 847437181775df3fa62bba2911ebf96bf6b6ff9e /lisp | |
parent | 8ccaa3b79bf8a0658cc5dcf8093c29576cc4ab44 (diff) | |
download | emacs.d-38df32490ac8de3329396ff957c5367f0f759c5f.tar.gz |
Disable lispy when activating God mode
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/init-god.el | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lisp/init-god.el b/lisp/init-god.el index 5ccb00d..357b40c 100644 --- a/lisp/init-god.el +++ b/lisp/init-god.el @@ -24,7 +24,13 @@ (add-hook 'god-mode-enabled-hook (lambda () (when view-mode - (view-mode -1)))) + (view-mode -1)) + (when (derived-mode-p 'emacs-lisp-mode) + (lispy-mode -1)))) + +(add-hook 'god-mode-disabled-hook (lambda () + (when (derived-mode-p 'emacs-lisp-mode) + (lispy-mode 1)))) (add-hook 'god-mode-enabled-hook 'km/god-update-cursor) (add-hook 'god-mode-disabled-hook 'km/god-update-cursor) |