mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 13:13:03 +00:00
yas/ido-prompt: play nice with autoloading of ido-completing-read
This commit is contained in:
parent
7e3ce48d3c
commit
69a1061955
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user