mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 21:13:04 +00:00
* Fix issue 152. Don't require ido-mode to be t for ido-promt to be used.
This commit is contained in:
parent
a851245972
commit
ca1d083dc7
@ -1570,8 +1570,7 @@ TEMPLATES is a list of `yas/template'."
|
|||||||
(keyboard-quit))))
|
(keyboard-quit))))
|
||||||
|
|
||||||
(defun yas/ido-prompt (prompt choices &optional display-fn)
|
(defun yas/ido-prompt (prompt choices &optional display-fn)
|
||||||
(when (and (featurep 'ido)
|
(when (and (featurep 'ido))
|
||||||
ido-mode)
|
|
||||||
(yas/completing-prompt prompt choices display-fn #'ido-completing-read)))
|
(yas/completing-prompt prompt choices display-fn #'ido-completing-read)))
|
||||||
|
|
||||||
(eval-when-compile (require 'dropdown-list nil t))
|
(eval-when-compile (require 'dropdown-list nil t))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user