浏览代码

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 7 年之前
父节点
当前提交
7a527f9f11
共有 1 个文件被更改,包括 1 次插入1 次删除
  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