|
65 | 65 | (symbol->string elt)))
|
66 | 66 | path)))
|
67 | 67 |
|
68 |
| -(define-public (join-unix-path path-list) |
| 68 | +(define-public (join-unix-path path) |
69 | 69 | "Returns a Unix formatted path string from a (symbol?/string?) list."
|
70 |
| - (string-join (split-path path-list) "/")) |
| 70 | + (string-join (split-path path) "/")) |
71 | 71 |
|
72 | 72 | (define-public (join-dot-path path)
|
73 | 73 | "Returns a string in dot-notation (to be displayed).
|
|
132 | 132 |
|
133 | 133 | (define-public (normalize-location location)
|
134 | 134 | "Returns a normalized path to the given location object"
|
135 |
| - (car (ly:input-file-line-char-column location))) |
| 135 | + (normalize-path (car (ly:input-file-line-char-column location)))) |
136 | 136 |
|
137 | 137 | (define-public (location-extract-path location)
|
138 | 138 | "Returns the normalized path from a LilyPond location
|
|
154 | 154 | (define-scheme-function (parser location)()
|
155 | 155 | (normalize-location location)))
|
156 | 156 |
|
157 |
| -(define-public (this-file-compiled parser location) |
| 157 | +(define-public (this-file-compiled? parser location) |
158 | 158 | "Return #t if the file where this function is called
|
159 | 159 | is the one that is currently compiled by LilyPond."
|
160 | 160 | (let ((outname (ly:parser-output-name parser))
|
161 | 161 | (locname (normalize-location location)))
|
162 | 162 | (regexp-match? (string-match (format "^(.*/)?~A\\.i?ly$" outname) locname))))
|
163 | 163 |
|
164 |
| -;; LilyPond format wrapper for this-file-compiled |
| 164 | +;; LilyPond format wrapper for this-file-compiled? |
165 | 165 | (define-public thisFileCompiled
|
166 | 166 | (define-scheme-function (parser location)()
|
167 |
| - (this-file-compiled parser location))) |
| 167 | + (this-file-compiled? parser location))) |
0 commit comments