]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/encoding.scm
(outdir)/latin1.enc: Build fix:
[lilypond.git] / scm / encoding.scm
index c108066f789ad92eead52e4f72afa835beaf0e62..cf3b90040bff5157fcedddc69055198edb4b9ce6 100644 (file)
@@ -2,7 +2,7 @@
 ;;;;
 ;;;;  source file of the GNU LilyPond music typesetter
 ;;;; 
-;;;; (c) 2004 Jan Nieuwenhuizen <janneke@gnu.org>
+;;;; (c) 2004--2005 Jan Nieuwenhuizen <janneke@gnu.org>
 
 ;; WIP
 ;; encoding.ly:
@@ -14,7 +14,7 @@
   "Read .enc file, return (COMMAND-NAME . VECTOR-OF-SYMBOLS)."
   (let* ((path (ly:kpathsea-find-file file-name))
         (unused (if (string? path) #t (ly:warn "can't find ~s" file-name)))
-        (raw (ly:gulp-file path))
+        (raw (cached-file-contents path))
         (string (regexp-substitute/global #f "%[^\n]*" raw 'pre "" 'post))
         (command (match:substring
                   (string-match "/([^ \t\n\r]*)[ \t\n\r]*[[]" string) 1))