]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/output-property-engraver.cc
Doc: NR - changing-defaults.itely - various improvements
[lilypond.git] / lily / output-property-engraver.cc
index 264c18642cc8b055fc90bf95b11817415da0190c..c14a6ee563b11c3e1f09cd6210ed7f7fa8eb1255 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2000--2010 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 2000--2015 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -56,6 +56,10 @@ Output_property_engraver::acknowledge_grob (Grob_info inf)
     {
       Stream_event *o = props_[i];
       Context *d = inf.context ();
+      SCM grob = o->get_property ("symbol");
+      if (scm_is_symbol (grob)
+          && ly_symbol2string (grob) != inf.grob ()->name ())
+        continue;
       SCM proc = o->get_property ("procedure");
       scm_call_3 (proc,
                  inf.grob ()->self_scm (),