A reduced and simplified version of some of the other \toCoda, \toSegno solutions in the LSR.
This snippet is obsolete in 2.23.x. Use the new built-in \repeat segno
and \sectionLabel
commands. See here for more information.
As far as I can tell, the textual rehearsal marks are not always correct anyway. Thus unapproving it --Harm