]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/context-def.cc
Issue 1375/2: Create Translator_creator class
[lilypond.git] / lily / context-def.cc
index 402bd80b6e8baf329b52b07c16275751f8c0b95b..5768ee5471989f94d42dc87fc13f6c1737e2489e 100644 (file)
@@ -294,7 +294,7 @@ Context_def::get_translator_names (SCM user_mod) const
       else if (scm_is_eq (tag, ly_symbol2scm ("remove"))
                && (scm_is_pair (arg)
                    || ly_is_procedure (arg)
-                   || get_translator (arg)))
+                   || get_translator_creator (arg)))
         l1 = scm_delete_x (arg, l1);
     }