mirror of
https://github.com/joaotavora/yasnippet.git
synced 2026-02-04 14:32:26 +00:00
* fixed issue 68
(http://code.google.com/p/yasnippet/issues/detail?id=68)
This commit is contained in:
@@ -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))
|
||||||
|
|||||||
Reference in New Issue
Block a user