From 32336e1462e81966ad9e951537b8bbc8113ec1ca Mon Sep 17 00:00:00 2001 From: capitaomorte Date: Sun, 28 Mar 2010 01:57:39 +0000 Subject: [PATCH] Fix issue 125. --- yasnippet.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/yasnippet.el b/yasnippet.el index 8da2d2f..1a66ad1 100644 --- a/yasnippet.el +++ b/yasnippet.el @@ -2303,7 +2303,8 @@ lurking." # name: $1 # key: $2${3: # binding: ${4:direct-keybinding}}${5: -# expand-env: ((${6:some-var} ${7:some-value}))} +# expand-env: ((${6:some-var} ${7:some-value}))}${8: +# type: command} # -- $0")))) @@ -3368,6 +3369,7 @@ considered when expanding the snippet." ;; (let ((first-field (car (yas/snippet-fields snippet)))) (when first-field + (sit-for 0) ;; fix issue 125 (yas/move-to-field snippet first-field))))) (message "[yas] snippet expanded.")))