branch: elpa/isl
commit 6f170e51617c856a8a32fab0e2338e72ce4a531d
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>

    Comments only
---
 isearch-light.el | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/isearch-light.el b/isearch-light.el
index f422ce7a1c2..0a64e50c005 100644
--- a/isearch-light.el
+++ b/isearch-light.el
@@ -351,6 +351,11 @@ symbol position."
   (with-selected-window (minibuffer-selected-window)
     (while-no-input
       (isl-delete-overlays)
+      ;; We don't use the isearch-invisible mechanism which is heavy
+      ;; and don't behave as we want, instead remove invisibility in
+      ;; all buffer and on exit restore it and unhide only the place
+      ;; where point is with appropriate functions belonging to
+      ;; major-mode e.g. org => org-reveal etc...
       (when (and buffer-invisibility-spec
                  (listp buffer-invisibility-spec))
         (mapc 'remove-from-invisibility-spec buffer-invisibility-spec))

Reply via email to