Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(10)

Side by Side Diff: scm/lily.scm

Issue 1901042: Add user-init option to include a custom init snippet (not replacing the whole init file) (Closed)
Patch Set: Remove debug statement Created 14 years, 8 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« ly/init.ly ('K') | « ly/init.ly ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ;;;; This file is part of LilyPond, the GNU music typesetter. 1 ;;;; This file is part of LilyPond, the GNU music typesetter.
2 ;;;; 2 ;;;;
3 ;;;; Copyright (C) 1998--2010 Jan Nieuwenhuizen <janneke@gnu.org> 3 ;;;; Copyright (C) 1998--2010 Jan Nieuwenhuizen <janneke@gnu.org>
4 ;;;; Han-Wen Nienhuys <hanwen@xs4all.nl> 4 ;;;; Han-Wen Nienhuys <hanwen@xs4all.nl>
5 ;;;; 5 ;;;;
6 ;;;; LilyPond is free software: you can redistribute it and/or modify 6 ;;;; LilyPond is free software: you can redistribute it and/or modify
7 ;;;; it under the terms of the GNU General Public License as published by 7 ;;;; it under the terms of the GNU General Public License as published by
8 ;;;; the Free Software Foundation, either version 3 of the License, or 8 ;;;; the Free Software Foundation, either version 3 of the License, or
9 ;;;; (at your option) any later version. 9 ;;;; (at your option) any later version.
10 ;;;; 10 ;;;;
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 "Don't use directories from input files while 162 "Don't use directories from input files while
163 constructing output file names.") 163 constructing output file names.")
164 (svg-woff #f 164 (svg-woff #f
165 "Use woff font files in SVG backend.") 165 "Use woff font files in SVG backend.")
166 (trace-memory-frequency #f 166 (trace-memory-frequency #f
167 "Record Scheme cell usage this many times per 167 "Record Scheme cell usage this many times per
168 second. Dump results to `FILE.stacks' and 168 second. Dump results to `FILE.stacks' and
169 `FILE.graph'.") 169 `FILE.graph'.")
170 (trace-scheme-coverage #f 170 (trace-scheme-coverage #f
171 "Record coverage of Scheme files in `FILE.cov'.") 171 "Record coverage of Scheme files in `FILE.cov'.")
172 (user-init #f
173 "Global settings file, included before the score is processed.")
172 (verbose ,(ly:command-line-verbose?) 174 (verbose ,(ly:command-line-verbose?)
173 "Value of the --verbose flag (read-only).") 175 "Value of the --verbose flag (read-only).")
174 (warning-as-error #f 176 (warning-as-error #f
175 "Change all warning and programming_error 177 "Change all warning and programming_error
176 messages into errors.") 178 messages into errors.")
177 )) 179 ))
178 180
179 ;; Need to do this in the beginning. Other parts of the Scheme 181 ;; Need to do this in the beginning. Other parts of the Scheme
180 ;; initialization depend on these options. 182 ;; initialization depend on these options.
181 183
(...skipping 659 matching lines...) Expand 10 before | Expand all | Expand 10 after
841 (ly:exit 0 #f))))) 843 (ly:exit 0 #f)))))
842 844
843 (define (gui-no-files-handler) 845 (define (gui-no-files-handler)
844 (let* ((ly (string-append (ly:effective-prefix) "/ly/")) 846 (let* ((ly (string-append (ly:effective-prefix) "/ly/"))
845 ;; FIXME: soft-code, localize 847 ;; FIXME: soft-code, localize
846 (welcome-ly (string-append ly "Welcome_to_LilyPond.ly")) 848 (welcome-ly (string-append ly "Welcome_to_LilyPond.ly"))
847 (cmd (get-editor-command welcome-ly 0 0 0))) 849 (cmd (get-editor-command welcome-ly 0 0 0)))
848 (ly:message (_ "Invoking `~a'...\n") cmd) 850 (ly:message (_ "Invoking `~a'...\n") cmd)
849 (system cmd) 851 (system cmd)
850 (ly:exit 1 #f))) 852 (ly:exit 1 #f)))
OLDNEW
« ly/init.ly ('K') | « ly/init.ly ('k') | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b