From 0d23f82b990015f6ebe0ad8bc6b7a247dadc30ba Mon Sep 17 00:00:00 2001 From: syl20bnr Date: Sun, 12 Oct 2014 23:23:05 -0400 Subject: [PATCH] Correctly define variable spacemacs-last-base-state --- spacemacs/packages.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spacemacs/packages.el b/spacemacs/packages.el index 5abafbb19..f1d7f71e9 100644 --- a/spacemacs/packages.el +++ b/spacemacs/packages.el @@ -152,6 +152,9 @@ which require an initialization must be listed explicitly in the list.") (evil-mode 1)) :config (progn + (defvar spacemacs-last-base-state 'normal + "Last base state, the current value of this variable is used to +determine the state to enable when escaping from the insert state.") (defadvice evil-insert-state (before spacemacs/evil-insert-state activate) "Advice to keep track of the last base state. A base state can be normal or lisp."