mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-14 05:23:04 +00:00
bugfix: error when multiple candidate exists in -nw mode.
This commit is contained in:
parent
e98815c030
commit
9812156a57
@ -707,7 +707,7 @@ t is returned simply."
|
|||||||
(car (x-popup-menu (yas/point-to-coord)
|
(car (x-popup-menu (yas/point-to-coord)
|
||||||
(yas/fake-keymap-for-popup templates)))
|
(yas/fake-keymap-for-popup templates)))
|
||||||
;; no window system, simply select the first one
|
;; no window system, simply select the first one
|
||||||
(cdar templates)))
|
(yas/template-content (cdar templates))))
|
||||||
|
|
||||||
(defun yas/load-directory-1 (directory &optional parent)
|
(defun yas/load-directory-1 (directory &optional parent)
|
||||||
"Really do the job of loading snippets from a directory
|
"Really do the job of loading snippets from a directory
|
||||||
|
Loading…
x
Reference in New Issue
Block a user