+\version "2.14.0"
+
+\header {
+ texidoc = "@code{\\killCues} shall only remove real cue notes generated by
+ @code{\\cueDuring}, but not other music quoted using @code{\\quoteDuring}."
+}
+
+mus = \relative c' { c2 c c c c c c c }
+\addQuote #"M" \mus
+
+quot = \relative c' {
+ d2 \quoteDuring #"M" { s1 } e2 \cueDuring #"M" #UP { s1 } f2
+}
+
+\score { <<
+ \quot
+ \killCues \quot
+>> }