]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 3073: Context definitions and context mods ignore \unset
authorDavid Kastrup <dak@gnu.org>
Mon, 31 Dec 2012 13:12:11 +0000 (14:12 +0100)
committerDavid Kastrup <dak@gnu.org>
Mon, 7 Jan 2013 03:03:04 +0000 (04:03 +0100)
lily/context-property.cc

index c835a2fb93d2b2f6ec240a719f6ff6b3abe181fa..00108cf3149d8b3966b4c392a2dc523e143849c7 100644 (file)
@@ -242,6 +242,8 @@ apply_property_operations (Context *tg, SCM pre_init_ops)
         tg->set_property (scm_car (entry), scm_cadr (entry));
       else if (type == ly_symbol2scm ("apply"))
        scm_apply_1 (scm_car (entry), tg->self_scm (), scm_cdr (entry));
+      else if (type == ly_symbol2scm ("unset"))
+        tg->unset_property (scm_car (entry));
     }
 }