]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/auto-beam-engraver.cc
Fix issue 1641 -- Make \noBeam terminate the current autobeam
[lilypond.git] / lily / auto-beam-engraver.cc
index dbff4e95a2f8803bfe87fa2b7afd18fe307422e9..66b79fe008c59b0c2612c03425c2871af991c9cd 100644 (file)
@@ -137,8 +137,10 @@ Auto_beam_engraver::process_music ()
 
   if (forbid_)
     {
-      consider_end (measure_position (context ()), shortest_mom_);
-      junk_beam ();
+      if (stems_)
+       end_beam ();
+      else
+       junk_beam ();
     }
 }