]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/lily-library.scm
Ambitus_engraver: only acknowledge pitched note heads.
[lilypond.git] / scm / lily-library.scm
index f486e26672f3aac4570140209d5d0d7cc793f523..3cc4c5201bea4c9028dcf7106d9b2eb61f6e40cc 100644 (file)
@@ -586,11 +586,19 @@ possibly turned off."
 ;; don't confuse users with #<procedure .. > syntax. 
 ;; 
 (define-public (scm->string val)
-  (if (and (procedure? val) (symbol? (procedure-name val)))
+  (if (and (procedure? val)
+          (symbol? (procedure-name val)))
       (symbol->string (procedure-name val))
       (string-append
-       (if (self-evaluating? val) "" "'")
-       (call-with-output-string (lambda (port) (display val port))))))
+       (if (self-evaluating? val)
+          (if (string? val)
+              "\""
+              "")
+          "'")
+       (call-with-output-string (lambda (port) (display val port)))
+       (if (string? val)
+          "\""
+          ""))))
 
 (define-public (!= lst r)
   (not (= lst r)))