]> code.delx.au - gnu-emacs-elpa/commitdiff
Don't use yas-x-prompt by default
authorNoam Postavsky <npostavs@users.sourceforge.net>
Fri, 29 Jan 2016 18:55:00 +0000 (13:55 -0500)
committerNoam Postavsky <npostavs@users.sourceforge.net>
Fri, 29 Jan 2016 18:57:18 +0000 (13:57 -0500)
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

index 59285a6897e7bf31a0880b02c1385caa0ccbbd37..6ada52e396d36bce95c7fead8cddf104c225e00e 100644 (file)
@@ -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)