lang/org: cleanup & refactor
This commit is contained in:
parent
1f8c4ed383
commit
5add3c3805
8 changed files with 105 additions and 121 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue