Fix ESC not closing popups from org-mode
This commit is contained in:
parent
b7ca13f45d
commit
ce17ecd239
1 changed files with 3 additions and 3 deletions
|
@ -219,9 +219,9 @@ between the two."
|
||||||
|
|
||||||
(defun +org|remove-occur-highlights ()
|
(defun +org|remove-occur-highlights ()
|
||||||
"Remove org occur highlights on ESC in normal mode."
|
"Remove org occur highlights on ESC in normal mode."
|
||||||
(when (derived-mode-p 'org-mode)
|
(when (and (derived-mode-p 'org-mode)
|
||||||
(org-remove-occur-highlights)
|
org-occur-highlights)
|
||||||
t))
|
(org-remove-occur-highlights)))
|
||||||
(add-hook '+evil-esc-hook #'+org|remove-occur-highlights)
|
(add-hook '+evil-esc-hook #'+org|remove-occur-highlights)
|
||||||
|
|
||||||
(after! recentf
|
(after! recentf
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue