From 8a682d0ffe936bbf9fbe47d9dcb141331b2e947e Mon Sep 17 00:00:00 2001
From: Han-Wen Nienhuys <hanwen@xs4all.nl>
Date: Sat, 6 Nov 2004 20:11:05 +0000
Subject: [PATCH] (sanitize-command-option): new function.

---
 scm/lily.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scm/lily.scm b/scm/lily.scm
index ca173e27ef..9a559b40df 100644
--- a/scm/lily.scm
+++ b/scm/lily.scm
@@ -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)
-- 
2.39.5