Don't abort kbd macros on doom/escape #455
This commit is contained in:
parent
839fc940f0
commit
54393534ff
1 changed files with 2 additions and 0 deletions
|
@ -36,6 +36,8 @@ If any hook returns non-nil, all hooks after it are ignored.")
|
||||||
(abort-recursive-edit))
|
(abort-recursive-edit))
|
||||||
;; 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
|
||||||
|
(defining-kbd-macro nil)
|
||||||
;; Back to the default
|
;; Back to the default
|
||||||
(t (keyboard-quit))))
|
(t (keyboard-quit))))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue