Inhibit doom/escape on ESC while executing macros #471

This commit is contained in:
Henrik Lissner 2018-03-21 15:11:52 -04:00
parent 51b5fb0f44
commit da92423e40
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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 all escape hooks. If any returns non-nil, then stop there.
((run-hook-with-args-until-success 'doom-escape-hook)) ((run-hook-with-args-until-success 'doom-escape-hook))
;; don't abort macros ;; don't abort macros
(defining-kbd-macro nil) ((or defining-kbd-macro executing-kbd-macro) nil)
;; Back to the default ;; Back to the default
(t (keyboard-quit)))) (t (keyboard-quit))))