From ca1d083dc75dd7fcd2ff594b40ef362974281951 Mon Sep 17 00:00:00 2001 From: capitaomorte Date: Sun, 24 Oct 2010 22:20:23 +0000 Subject: [PATCH] * Fix issue 152. Don't require ido-mode to be t for ido-promt to be used. --- yasnippet.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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))