Don't use yas-x-prompt by default

It is not a very pleasant method when there are many values, and
`yas-completing-prompt' will usually do a better job, in addition to
respecting customizations to `completing-read-function'.
`yas-dropdown-prompt' remains in first place, since it only takes effect
if the `dropdown' library is loaded, which likely indicates a preference
for it.

* yasnippet.el (yas-prompt-functions): Remove yas-x-prompt from default value.
This commit is contained in:
Noam Postavsky 2016-01-29 13:55:00 -05:00
parent 42601d2ff8
commit 8632262a50

View File

@ -213,8 +213,7 @@ If nil, don't use any snippet."
:type 'string :type 'string
:group 'yasnippet) :group 'yasnippet)
(defcustom yas-prompt-functions '(yas-x-prompt (defcustom yas-prompt-functions '(yas-dropdown-prompt
yas-dropdown-prompt
yas-completing-prompt yas-completing-prompt
yas-maybe-ido-prompt yas-maybe-ido-prompt
yas-no-prompt) yas-no-prompt)