bug fix: comparing number to nil cause error

This commit is contained in:
Zhang Chiyuan 2008-03-10 13:55:54 +00:00
parent 2a20ecfe95
commit e13e189148

View File

@ -176,6 +176,7 @@ mode will be listed under the menu \"yasnippet\".")
:test
'(lambda (field group)
(and (not (null (yas/field-number field)))
(not (null (yas/group-number group))
(= (yas/field-number field)
(yas/group-number group)))))))
(if group