mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 21:13:04 +00:00
Fix #70
This commit is contained in:
parent
3b26af4233
commit
19dd43cb52
@ -1630,8 +1630,10 @@ TEMPLATES is a list of `yas/template'."
|
|||||||
'require-match
|
'require-match
|
||||||
nil
|
nil
|
||||||
nil)))
|
nil)))
|
||||||
(when chosen
|
(let ((position (or (and chosen
|
||||||
(nth (position chosen formatted-choices :test #'string=) filtered-choices))))
|
(position chosen formatted-choices :test #'string=))
|
||||||
|
0)))
|
||||||
|
(nth position filtered-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