]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/note-spacing.cc
Correct doc string of repeat tie engraver.
[lilypond.git] / lily / note-spacing.cc
index 93be9228e2f90ff06a5ec84eee17e2aa4509c471..96f7b8f8e35078da3b53b6be2f5daa18c38d619b 100644 (file)
@@ -74,7 +74,9 @@ Note_spacing::get_spacing (Grob *me, Item *right_col,
 
   /* If we have a NonMusical column on the right, we measure the ideal distance
      to the bar-line (if present), not the start of the column. */
-  if (!Paper_column::is_musical (right_col) && !skys[RIGHT].is_empty ())
+  if (!Paper_column::is_musical (right_col)
+      && !skys[RIGHT].is_empty ()
+      && to_boolean (me->get_property ("space-to-barline")))
     {
       Grob *bar = Pointer_group_interface::find_grob (right_col,
                                                      ly_symbol2scm ("elements"),
@@ -315,6 +317,7 @@ ADD_INTERFACE (Note_spacing,
               "right-items "
               "same-direction-correction "
               "stem-spacing-correction "
+              "space-to-barline "
 
               );