From 0e74b208c8b7c023480ef8a1a9921fd12a805b60 Mon Sep 17 00:00:00 2001 From: capitaomorte Date: Mon, 27 Jul 2009 10:47:13 +0000 Subject: [PATCH] * fixed issue 68 (http://code.google.com/p/yasnippet/issues/detail?id=68) --- yasnippet.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yasnippet.el b/yasnippet.el index 551da02..acc11eb 100644 --- a/yasnippet.el +++ b/yasnippet.el @@ -877,7 +877,7 @@ TEMPLATES is a list of `yas/template'." nil nil)))) (when chosen - (nth (position chosen formatted-choices) choices))))) + (nth (position chosen formatted-choices :test #'string=) choices))))) (eval-when-compile (require 'dropdown-list nil t)) (defun yas/dropdown-prompt (prompt choices &optional display-fn) @@ -902,7 +902,7 @@ TEMPLATES is a list of `yas/template'." nil nil)))) (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) (first choices))