From da92423e400b3f6e3b1373e76d3d902189ef221d Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 21 Mar 2018 15:11:52 -0400 Subject: [PATCH] Inhibit doom/escape on ESC while executing macros #471 --- core/core-keybinds.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-keybinds.el b/core/core-keybinds.el index ea76117e5..39307e518 100644 --- a/core/core-keybinds.el +++ b/core/core-keybinds.el @@ -37,7 +37,7 @@ If any hook returns non-nil, all hooks after it are ignored.") ;; Run all escape hooks. If any returns non-nil, then stop there. ((run-hook-with-args-until-success 'doom-escape-hook)) ;; don't abort macros - (defining-kbd-macro nil) + ((or defining-kbd-macro executing-kbd-macro) nil) ;; Back to the default (t (keyboard-quit))))