浏览代码

Only enable completing-read compat fix when default is nil

Ryan C. Thompson 13 年之前
父节点
当前提交
f7a4c8a5a1
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      ido-ubiquitous.el

+ 1 - 0
ido-ubiquitous.el

@@ -191,6 +191,7 @@ the first choice in the list).
 This has no effect when ido is completing buffers or files."
   (if (and (eq ido-cur-item 'list)
            ido-require-match
+           (null ido-default-item)
            (string= ido-text ""))
       (ido-select-text)
     ad-do-it))