mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 21:13:04 +00:00
bug fix: comparing number to nil cause error
This commit is contained in:
parent
2a20ecfe95
commit
e13e189148
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user