]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/context-def.cc
Doc-de: updates and adding snippet translation to notation manual
[lilypond.git] / lily / context-def.cc
index e5f33c75c7ee309f8d4ad99d4e239689c8a41e6b..00b10f9616904e6e42e14f92e5af62fffefc064f 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2000--2011 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 2000--2012 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
@@ -292,7 +292,9 @@ Context_def::get_translator_names (SCM user_mod) const
       if (ly_symbol2scm ("consists") == tag)
         l1 = scm_cons (arg, l1);
       else if (ly_symbol2scm ("remove") == tag
-               && get_translator (arg))
+               && (scm_is_pair (arg)
+                  || ly_is_procedure (arg)
+                  || get_translator (arg)))
         l1 = scm_delete_x (arg, l1);
     }