Merge pull request #236 from immerrr/patch-1

yas/ido-prompt: play nice with autoloading of ido-completing-read
This commit is contained in:
João Távora 2012-04-20 13:20:58 -07:00
commit 7a41a130bd

View File

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