]> code.delx.au - gnu-emacs-elpa/commitdiff
* Fix issue 152. Don't require ido-mode to be t for ido-promt to be used.
authorcapitaomorte <joaotavora@gmail.com>
Sun, 24 Oct 2010 22:20:23 +0000 (22:20 +0000)
committercapitaomorte <joaotavora@gmail.com>
Sun, 24 Oct 2010 22:20:23 +0000 (22:20 +0000)
yasnippet.el

index c27b77db5e07720c4d09462bccf703645293c6e7..d0e7c87bfe4ea29b09ed886a8783d1bc47cedcbf 100644 (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))