No longer disable org-highlight-sparse-tree-matches

The original issue it was meant to fix no longer occurs in recent
versions of org.
This commit is contained in:
Henrik Lissner 2020-05-13 16:06:25 -04:00
parent abb9ab7674
commit 7bbb52f17c
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -468,11 +468,6 @@ relative to `org-directory', unless it is an absolute path."
;; to be performant.
(setq-hook! 'org-mode-hook gcmh-high-cons-threshold (* 2 gcmh-high-cons-threshold))
;; When you create a sparse tree and `org-indent-mode' is enabled, the
;; highlighting destroys the invisibility added by `org-indent-mode'.
;; Therefore, don't highlight when creating a sparse tree.
(setq org-highlight-sparse-tree-matches nil)
(add-hook! 'org-follow-link-hook
(defun +org-delayed-recenter-h ()
"`recenter', but after a tiny delay. Necessary to prevent certain race