mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 21:13:04 +00:00
Merge pull request #236 from immerrr/patch-1
yas/ido-prompt: play nice with autoloading of ido-completing-read
This commit is contained in:
commit
7a41a130bd
@ -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