Using \breakAlignInsert to put a clef change after the key signature

Knute Snortum <[email protected]>
Newsgroups gmane.comp.gnu.lilypond.general
Message-ID <CALmeJxR+_o__O8ucSME4BxkSyYz8_mwYkEvapxsvXC0ftxJqjQ@mail.gmail.com>
I have a situation where there is a clef change after a volta repeat and I
want the cautionary clef printed outside the repeat bar line and after the
cautionary key signature.  I thought I'd use the new \brealAlighIinsert
function for this, but although the output is correct, there is awarning in
the log output:

programming error: No spacing entry from KeySignature to `clef'

Below is my MWE and I've attached a picture of the output.  What am I doing
wrong with the \breakAlignInsert function?

%%% Start
\version "2.26.0"

\relative {
  \key f \major
  \repeat volta 2 { \*8 f'1 \break }
  \breakAlignInsert #end-of-line-visible clef after key-signature
  \key f \minor
  \clef bass
  \*8 f,1 |
}
%%% End

--
Knute Snortum
clef-after-key-sig.png (image/png, 68.6 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.