Browse Source

Disable ido when completion-extra-properties is non-nil

"completion-extra-properties" appears to be a new variable that has
important effects on how completion occurs, and ido doesn't support
it.

This provides a workaround for #8.
Ryan C. Thompson 12 years ago
parent
commit
c61e1ea934
1 changed files with 1 additions and 0 deletions
  1. 1 0
      ido-ubiquitous.el

+ 1 - 0
ido-ubiquitous.el

@@ -143,6 +143,7 @@ happen, so this feature may simply not work in some cases."
   "Ido-based method for reading from the minibuffer with completion.
    See `completing-read' for the meaning of the arguments."
   (if (or inherit-input-method          ; Can't handle this arg
+          (bound-and-true-p completion-extra-properties) ; Can't handle this
           (not ido-mode)
           (not ido-ubiquitous-mode)
           ;; Avoid infinite recursion from ido calling completing-read