holy-mode: fix handling of evil-escape

This commit is contained in:
syl20bnr 2016-01-05 00:58:05 -05:00
parent 73a40805b3
commit 2f479eedc3
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@
(defvar holy-mode-modes-to-disable-alist
`((evil-mode . 1)
(hybrid-mode . -1)
(evil-escape-mode . ,(when (boundp 'evil-escape-mode) 1 -1)))
(evil-escape-mode . ,(if (boundp 'evil-escape-mode) evil-escape-mode -1)))
"Alist of modes that should be disabled when activating
`holy-mode'. The cdr in each cell stores the state of the mode
before it was disabled.")