]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/grob-property.cc
Make man/install-help2man: use LILYPOND_EXTERNAL_BINARY if set
[lilypond.git] / lily / grob-property.cc
index 153627274d03e274abe1cdf0dc8ce00808e51a84..db16f2a54af248e4818f6cb7d9188ed3d28a2972 100644 (file)
@@ -36,8 +36,8 @@ print_property_callback_stack ()
 }
 #endif
 
-static SCM modification_callback = SCM_EOL;
-static SCM cache_callback = SCM_EOL;
+static Protected_scm modification_callback = SCM_EOL;
+static Protected_scm cache_callback = SCM_EOL;
 
 /*
 FIXME: this should use ly:set-option interface instead.
@@ -251,7 +251,7 @@ Grob::try_callback_on_alist (SCM *alist, SCM sym, SCM proc)
       value = get_property_data (sym);
       assert (value == SCM_EOL || value == marker);
       if (value == marker)
-        *alist = scm_assq_remove_x (*alist, marker);
+        *alist = scm_assq_remove_x (*alist, sym);
     }
   else
     {