lang/org: cleanup & refactor

This commit is contained in:
Henrik Lissner 2017-05-19 03:29:00 +02:00
parent 1f8c4ed383
commit 5add3c3805
8 changed files with 105 additions and 121 deletions

View file

@ -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)