]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/output-ps.scm
#4747: Remove (all) uses of is-absolute?
[lilypond.git] / scm / output-ps.scm
index 70b13848e4aa6ad898bac04f79d33c80dfdaf838..69f277203934985a01979476b56df1803c5a1bae 100644 (file)
                                 (ly:in-event-class? cause t))
                               point-and-click))))
             (let* ((location (ly:input-file-line-char-column music-origin))
-                   (raw-file (car location))
-                   (file (if (is-absolute? raw-file)
-                             raw-file
-                             (string-append (ly-getcwd) "/" raw-file)))
                    (x-ext (ly:grob-extent grob grob X))
                    (y-ext (ly:grob-extent grob grob Y)))
 
                              ;; Backslashes are not valid
                              ;; file URI path separators.
                              (ly:string-percent-encode
-                              (ly:string-substitute "\\" "/" file))
+                              (ly:string-substitute "\\" "/" (car location)))
 
                              (cadr location)
                              (caddr location)