mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-14 15:46:56 -05:00
lang/org: cleanup & refactor
This commit is contained in:
@@ -372,7 +372,7 @@
|
||||
|
||||
;; Remove highlights on ESC
|
||||
(defun +org|remove-occur-highlights (&rest args)
|
||||
(when (eq major-mode 'org-mode)
|
||||
(when (derived-mode-p 'org-mode)
|
||||
(org-remove-occur-highlights)))
|
||||
(add-hook '+evil-esc-hook #'+org|remove-occur-highlights)
|
||||
|
||||
|
Reference in New Issue
Block a user