From 9812156a5773b043965a79e9e8484856d1638291 Mon Sep 17 00:00:00 2001 From: Zhang Chiyuan Date: Sat, 15 Mar 2008 10:14:40 +0000 Subject: [PATCH] bugfix: error when multiple candidate exists in -nw mode. --- yasnippet.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yasnippet.el b/yasnippet.el index d149fcc..1abc7df 100644 --- a/yasnippet.el +++ b/yasnippet.el @@ -707,7 +707,7 @@ t is returned simply." (car (x-popup-menu (yas/point-to-coord) (yas/fake-keymap-for-popup templates))) ;; no window system, simply select the first one - (cdar templates))) + (yas/template-content (cdar templates)))) (defun yas/load-directory-1 (directory &optional parent) "Really do the job of loading snippets from a directory