]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 5105/4: (value->lily-string "x") -> "x", not #"x"
authorDavid Kastrup <dak@gnu.org>
Fri, 24 Mar 2017 09:06:41 +0000 (10:06 +0100)
committerDavid Kastrup <dak@gnu.org>
Fri, 31 Mar 2017 09:34:37 +0000 (11:34 +0200)
This printing function was established in 2005, but where it is used,
nowadays one does not need to use Scheme for indicating strings, ever.

scm/define-music-display-methods.scm

index fd3c8b263adaaaad69ddcec130bc3bd0d24c6b6c..492050a9ba27271468553b43b89780ada644030d 100644 (file)
@@ -784,8 +784,6 @@ Otherwise, return #f."
 (define-public (value->lily-string arg)
   (cond ((ly:music? arg)
          (music->lily-string arg))
-        ((string? arg)
-         (format #f "#~s" arg))
         ((markup? arg)
          (markup->lily-string arg))
         ((ly:duration? arg)