mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Don't abort kbd macros on doom/escape #455
This commit is contained in:
@ -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))))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user