mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-21 13:53:38 -05:00
Refactor +evil-esc-hook
This commit is contained in:
@@ -381,7 +381,8 @@
|
||||
;; Remove highlights on ESC
|
||||
(defun +org|remove-occur-highlights (&rest args)
|
||||
(when (derived-mode-p 'org-mode)
|
||||
(org-remove-occur-highlights)))
|
||||
(org-remove-occur-highlights)
|
||||
t))
|
||||
(add-hook '+evil-esc-hook #'+org|remove-occur-highlights)
|
||||
|
||||
(after! org-bullets
|
||||
|
Reference in New Issue
Block a user