Browse Source

Only enable completing-read compat fix when default is nil

Ryan C. Thompson 14 years ago
parent
commit
f7a4c8a5a1
1 changed files with 1 additions and 0 deletions
  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."
 This has no effect when ido is completing buffers or files."
   (if (and (eq ido-cur-item 'list)
   (if (and (eq ido-cur-item 'list)
            ido-require-match
            ido-require-match
+           (null ido-default-item)
            (string= ido-text ""))
            (string= ido-text ""))
       (ido-select-text)
       (ido-select-text)
     ad-do-it))
     ad-do-it))