]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/backend-library.scm
Return a null string after calling ly:warning
[lilypond.git] / scm / backend-library.scm
index 71ef9096f8e314249dfdd773f0a660918215473a..db79c74aae71f4a11e22063e1e433d37e122e5a5 100644 (file)
 
 (define-public (backend-testing output-module)
   (define (missing-stencil-expression name)
-    (apply
-     (if (ly:get-option 'warning-as-error) ly:error ly:warning)
-     (list (_ "missing stencil expression `~S'") name)))
+    (begin
+      (apply
+       (if (ly:get-option 'warning-as-error) ly:error ly:warning)
+       (list (_ "missing stencil expression `~S'") name))
+      ""))
 
   (map (lambda (x)
         (if (not (module-defined? output-module x))