* Fix issue 152. Don't require ido-mode to be t for ido-promt to be used.

This commit is contained in:
capitaomorte 2010-10-24 22:20:23 +00:00
parent a851245972
commit ca1d083dc7

View File

@ -1570,8 +1570,7 @@ TEMPLATES is a list of `yas/template'."
(keyboard-quit))))
(defun yas/ido-prompt (prompt choices &optional display-fn)
(when (and (featurep 'ido)
ido-mode)
(when (and (featurep 'ido))
(yas/completing-prompt prompt choices display-fn #'ido-completing-read)))
(eval-when-compile (require 'dropdown-list nil t))