]> code.delx.au - gnu-emacs-elpa/commitdiff
Fix issue 186
authorcapitaomorte <joaotavora@gmail.com>
Mon, 19 Sep 2011 16:34:11 +0000 (16:34 +0000)
committercapitaomorte <joaotavora@gmail.com>
Mon, 19 Sep 2011 16:34:11 +0000 (16:34 +0000)
yasnippet.el

index 50695003cef0615a768ccd3d3c023d33f747002e..152693eb487753f86b2c9628d6ed0cb7ad708d8c 100644 (file)
@@ -1471,7 +1471,8 @@ Here's a list of currently recognized directives:
                        (cons (point) (point)))))
           (yas/expand-snippet (yas/template-content yas/current-template)
                               (car where)
-                              (cdr where)))))))
+                              (cdr where)
+                              (yas/template-expand-env yas/current-template)))))))
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;; Popping up for keys and templates