Parcourir la source

Comment out an unnecessary assertion

This assertion was used for debugging #151. Since this is fixed, the
assertion is no longer needed. If ido-cr+ ever starts hanging
indefinitely again, this should be uncommented for debugging.
Ryan C. Thompson il y a 7 ans
Parent
commit
7a527f9f11
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      ido-completing-read+.el

+ 1 - 1
ido-completing-read+.el

@@ -916,7 +916,7 @@ This has no effect unless `ido-cr+-dynamic-collection' is non-nil."
                     string ido-cr+-dynamic-collection predicate)
                    into result
                    finally return result)))
-            (cl-assert (not (ido-cr+-cyclicp new-completions)))
+            ;; (cl-assert (not (ido-cr+-cyclicp new-completions)))
             ;; Put the previous first match back at the front if possible
             (when (and new-completions
                        first-match