mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
core-popups: fix over-eager ESC killing popups
This commit is contained in:
@ -248,7 +248,8 @@ properties."
|
||||
(defun doom*popup-close-all-maybe ()
|
||||
"Close popups with an :autoclose property when pressing ESC from normal
|
||||
mode in any evil-mode buffer."
|
||||
(unless (or (minibuffer-window-active-p (minibuffer-window))
|
||||
(unless (or (doom-popup-p)
|
||||
(minibuffer-window-active-p (minibuffer-window))
|
||||
(and (bound-and-true-p evil-mode)
|
||||
(evil-ex-hl-active-p 'evil-ex-search)))
|
||||
(doom/popup-close-all)))
|
||||
|
Reference in New Issue
Block a user