]> git.donarmstrong.com Git - lilypond.git/commitdiff
* ly/property-init.ly (arpeggioBracket): simplify
authorhanwen <hanwen>
Sun, 28 Sep 2003 13:18:23 +0000 (13:18 +0000)
committerhanwen <hanwen>
Sun, 28 Sep 2003 13:18:23 +0000 (13:18 +0000)
* lily/translator-group.cc (execute_pushpop_property): use
SCM_EQ_P for comparing keys. This fixes reverting
auto-beam-settings.

ChangeLog
lily/bar-line.cc
lily/translator-group.cc
ly/property-init.ly

index 37f8e23ab3b177ac8f812d59f46fa2b63f2cfeb7..0158c935a8d9a8b2624c5fba4e17d298fc047c36 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2003-09-28  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
+
+       * ly/property-init.ly (arpeggioBracket): simplify
+
+       * lily/translator-group.cc (execute_pushpop_property): use
+       SCM_EQ_P for comparing keys. This fixes reverting
+       auto-beam-settings.
+
 2003-09-28  Jan Nieuwenhuizen  <janneke@gnu.org>
 
        * lily/midi-stream.cc (operator <<): Also write MIDI string when
index 38af64a6bb19dad465c366ae36baaa0f7ee13902..cf1999356dcfab26b24845600f8443fad0092ebd 100644 (file)
@@ -118,6 +118,10 @@ Bar_line::compound_barline (Grob*me, String str, Real h)
     }
   else if (str == "||")
     {
+      /*
+       should align to other side? this never appears
+       on the system-start?
+      */
       m.add_at_edge (X_AXIS, RIGHT, thin, 0, 0);
       m.add_at_edge (X_AXIS, RIGHT, thin, thinkern, 0);
     }
index 74f86d0e412cb46b3e57d489ee0f05ee78118805..655d15f4f54c8118b5f5f598a2b0f19d7a4d0b06 100644 (file)
@@ -346,7 +346,7 @@ Translator_group::execute_pushpop_property (SCM prop, SCM eltprop, SCM val)
            autobeam properties.
           */
          SCM newprops= SCM_EOL ;
-         while (gh_pair_p (prev) && ly_caar (prev) != eltprop)
+         while (gh_pair_p (prev) && !SCM_EQ_P(ly_caar (prev), eltprop))
            {
              newprops = gh_cons (ly_car (prev), newprops);
              prev = ly_cdr (prev);
index 123729df10bb55b225c4c53c89d89467cf36fdab..e30809716629c1e8d5c3a77cfc9d0a3eb43acc94 100644 (file)
@@ -226,7 +226,7 @@ turnOff = #'()
 % of either Staff.Arpeggio or PianoStaff.Arpeggio, depending whether 
 % cross-staff brackets are desired. 
 
-arpeggioBracket = #(lambda (grob) (Arpeggio::brew_chord_bracket grob))
+arpeggioBracket = #Arpeggio::brew_chord_bracket
 arpeggio = #(make-music-by-name 'ArpeggioEvent)
 glissando = #(make-music-by-name 'GlissandoEvent)