diff --git a/yasnippet.el b/yasnippet.el index c27b77d..d0e7c87 100644 --- a/yasnippet.el +++ b/yasnippet.el @@ -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))