]> code.delx.au - gnu-emacs-elpa/blobdiff - packages/swiper/swiper.el
Merge commit 'ac0fc8962eaa15625b127c32f75d2b3daa1ca6ef' from swiper
[gnu-emacs-elpa] / packages / swiper / swiper.el
index 3190d921de1c8d2f538afb9114108e40bbf0b460..1afd056548c6bb09137689e7c38b7ffdb712aef7 100644 (file)
@@ -153,9 +153,6 @@ When non-nil, INITIAL-INPUT is the initial search pattern."
   (interactive)
   (swiper--ivy initial-input))
 
-(defvar swiper--overlays nil
-  "Store overlays.")
-
 (defvar swiper--anchor nil
   "A line number to which the search should be anchored.")
 
@@ -208,6 +205,9 @@ When non-nil, INITIAL-INPUT is the initial search pattern."
                (setq expose (overlay-get ov 'isearch-open-invisible)))
           (funcall expose ov)))))
 
+(defvar swiper--overlays nil
+  "Store overlays.")
+
 (defun swiper--cleanup ()
   "Clean up the overlays."
   (while swiper--overlays