bugfix: error when multiple candidate exists in -nw mode.

This commit is contained in:
Zhang Chiyuan 2008-03-15 10:14:40 +00:00
parent e98815c030
commit 9812156a57

View File

@ -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