scenario:
Before this commit, the definition no longer showed up on the surface. (Adding it a second time worked fine.)
I wish I'd included this fix in merge commit 12670102515 back in July.
CDW426K3SG5CZ6BFCDQMQEL2NZKRQPF5DIFNS25CHV63R3BWBXRAC
FLP5PSEUNSNVC6BFZA7FITEPE53FWY67X7JKDXC4YJYCVEN2BCJQC
5HBC66CSFQ257TO3DJYBUNKE5RKR47CUJNMYP6Y4F7T6W7LNRV4AC
BF7TW3EKRIDYC6J2Q2J4YOBAVQF55Y3H6KGZIHNXMH4N72MR6GXQC
TBPJ5WSRM5IKQH7FTAVYTWWUBWW7G2CLT5M6FN7CMPLD6Y77YIWQC
7TQAF4BYIK75EEYCCK7VEUSZHNCWMWIA3HZGQKIILYESUZ5ZZRVQC
local old_definition_name = live.get_definition_name_from_buffer(Cursor_node.editor.lines[1].data)
local old_definition_name = live.get_definition_name_from_buffer(live.definition_to_string(Cursor_node.editor))
local definition_name = live.get_definition_name_from_buffer(Cursor_node.editor.lines[1].data)
local definition_name = live.get_definition_name_from_buffer(live.definition_to_string(Cursor_node.editor))
end