Don't abort kbd macros on doom/escape #455

This commit is contained in:
Henrik Lissner 2018-03-07 01:57:16 -05:00
parent 839fc940f0
commit 54393534ff
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -36,6 +36,8 @@ If any hook returns non-nil, all hooks after it are ignored.")
(abort-recursive-edit))
;; 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)
;; Back to the default
(t (keyboard-quit))))