From cd151a8dd13ad7402e3535faa4b9ac3b34c382ed Mon Sep 17 00:00:00 2001 From: syl20bnr Date: Sun, 22 Feb 2015 12:32:27 -0500 Subject: [PATCH] evil-escape: explicitly disable any running transient map --- spacemacs/extensions/evil-escape/evil-escape.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spacemacs/extensions/evil-escape/evil-escape.el b/spacemacs/extensions/evil-escape/evil-escape.el index 337bcd153..98eadef46 100644 --- a/spacemacs/extensions/evil-escape/evil-escape.el +++ b/spacemacs/extensions/evil-escape/evil-escape.el @@ -5,7 +5,7 @@ ;; Author: Sylvain Benner ;; Keywords: convenience editing evil ;; Created: 22 Oct 2014 -;; Version: 2.09 +;; Version: 2.10 ;; Package-Requires: ((emacs "24") (evil "1.0.9")) ;; URL: https://github.com/syl20bnr/evil-escape @@ -335,6 +335,8 @@ DELETE-FUNC when calling CALLBACK. " ;; remove the f character (if delete-func (funcall delete-func)) (set-buffer-modified-p modified) + ;; disable any running transient map first + (setq overriding-terminal-local-map nil) (call-interactively callback)) (t ; otherwise (evil-escape--setup-emacs-state-passthrough)