mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 13:13:03 +00:00
* fixed issue 68
(http://code.google.com/p/yasnippet/issues/detail?id=68)
This commit is contained in:
parent
b104c6b5ff
commit
0e74b208c8
@ -877,7 +877,7 @@ TEMPLATES is a list of `yas/template'."
|
|||||||
nil
|
nil
|
||||||
nil))))
|
nil))))
|
||||||
(when chosen
|
(when chosen
|
||||||
(nth (position chosen formatted-choices) choices)))))
|
(nth (position chosen formatted-choices :test #'string=) choices)))))
|
||||||
|
|
||||||
(eval-when-compile (require 'dropdown-list nil t))
|
(eval-when-compile (require 'dropdown-list nil t))
|
||||||
(defun yas/dropdown-prompt (prompt choices &optional display-fn)
|
(defun yas/dropdown-prompt (prompt choices &optional display-fn)
|
||||||
@ -902,7 +902,7 @@ TEMPLATES is a list of `yas/template'."
|
|||||||
nil
|
nil
|
||||||
nil))))
|
nil))))
|
||||||
(when chosen
|
(when chosen
|
||||||
(nth (position chosen formatted-choices) choices))))
|
(nth (position chosen formatted-choices :test #'string=) choices))))
|
||||||
|
|
||||||
(defun yas/no-prompt (prompt choices &optional display-fn)
|
(defun yas/no-prompt (prompt choices &optional display-fn)
|
||||||
(first choices))
|
(first choices))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user