]> git.donarmstrong.com Git - lilypond.git/commitdiff
(sanitize-command-option): new function.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sat, 6 Nov 2004 20:11:05 +0000 (20:11 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sat, 6 Nov 2004 20:11:05 +0000 (20:11 +0000)
scm/lily.scm

index ca173e27efead91096fb18b417c1d96545877320..9a559b40df81c224f256a752c1105f04f9980b65 100644 (file)
@@ -584,7 +584,7 @@ possibly turned off."
 (define-public (sanitize-command-option str)
   (string-append
    "\""
-   (regexp-substitute/global #f "[^-0-9,.a-zA-Z'\"\\]" str 'pre 'post)
+   (regexp-substitute/global #f "[^- 0-9,.a-zA-Z'\"\\]" str 'pre 'post)
   "\""))
 
 (define-public (postscript->pdf papersizename name)