branch: master
commit 8632262a50a33a648bf6f8b30e9b4712082939c9
Author: Noam Postavsky <[email protected]>
Commit: Noam Postavsky <[email protected]>
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.
---
yasnippet.el | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/yasnippet.el b/yasnippet.el
index 59285a6..6ada52e 100644
--- a/yasnippet.el
+++ b/yasnippet.el
@@ -213,8 +213,7 @@ If nil, don't use any snippet."
:type 'string
:group 'yasnippet)
-(defcustom yas-prompt-functions '(yas-x-prompt
- yas-dropdown-prompt
+(defcustom yas-prompt-functions '(yas-dropdown-prompt
yas-completing-prompt
yas-maybe-ido-prompt
yas-no-prompt)