summaryrefslogtreecommitdiff
path: root/scm/lily.scm
diff options
context:
space:
mode:
authorJan Nieuwenhuizen <janneke@gnu.org>2005-05-15 11:45:13 +0000
committerJan Nieuwenhuizen <janneke@gnu.org>2005-05-15 11:45:13 +0000
commit86f3c1703dcf3280b5968b3c45c657d12661c87a (patch)
treed6a93fd3159bbf0a9d642f16d6192257567502a8 /scm/lily.scm
parent2ac39b7af25b46e5cf1658fc808a9600394d42f2 (diff)
* scm/editor.scm (slashify): New function.
(get-editor-command): Use it. (get-command-template): Do not alter editor command if environment value includes `%(file)s' magic. * scripts/lilypond-invoke-editor.scm (unquote-uri): New function. (dissect-uri): Use it. (unquote-uri): Bugfix.
Diffstat (limited to 'scm/lily.scm')
-rw-r--r--scm/lily.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scm/lily.scm b/scm/lily.scm
index 565a5e3c69..23d2152f07 100644
--- a/scm/lily.scm
+++ b/scm/lily.scm
@@ -97,7 +97,7 @@
(define (slashify x)
(if (string-index x #\/)
x
- (string-regexp-substitute "\\" "/" x)))
+ (string-regexp-substitute "\\\\" "/" x)))
;; FIXME: this prints a warning.
(define-public (ly-getcwd)
(slashify (native-getcwd))))