2005-05-23 Jan Nieuwenhuizen <janneke@gnu.org>
+ * scm/lily.scm (lilypond-all): Bugfix: return failed.
+
* lily/main.cc (setup_paths)[__MINGW32__]: Normalize LILYPONDPREFIX.
2005-05-21 Jan Nieuwenhuizen <janneke@gnu.org>
(handler (lambda (key failed-file)
(set! failed (append (list failed-file) failed)))))
;;(handler (lambda (key . arg) (set! failed (append arg failed)))))
- (for-each (lambda (x) (lilypond-file handler x)) files)))
+ (for-each (lambda (x) (lilypond-file handler x)) files)
+ failed))
(define (lilypond-file handler file-name)
(catch 'ly-file-failed
(let ((failed (lilypond-all files)))
(if (pair? failed)
(begin
+ ;; ugh
+ (ly:stderr-redirect "foo" "r")
(system (get-editor-command log-name 0 0))
(ly:error (_ "failed files: ~S") (string-join failed))
;; not reached?
(or (not (running-from-gui?))
(ly:get-option 'safe)
(define lilypond-main gui-main))
+ (define lilypond-main gui-main)