X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fguile-init.cc;h=975cab0c2bb8b769c56ff8ea6e0d54269985a397;hb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;hp=4ba2bd7f2c8a6b0659583596c20836986328ed98;hpb=0387f04497978e37b335a8b99eec905499d6ad0f;p=lilypond.git diff --git a/lily/guile-init.cc b/lily/guile-init.cc index 4ba2bd7f2c..975cab0c2b 100644 --- a/lily/guile-init.cc +++ b/lily/guile-init.cc @@ -1,21 +1,31 @@ -/* - guile-init.cc -- implement GUILE init routines. - - source file of the GNU LilyPond music typesetter - - (c) 2006--2008 Han-Wen Nienhuys - +/* + This file is part of LilyPond, the GNU music typesetter. + + Copyright (C) 2006--2015 Han-Wen Nienhuys + + + LilyPond is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + LilyPond is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with LilyPond. If not, see . */ -#include "lily-guile.hh" -#include "main.hh" -#include "warn.hh" +#include "lily-guile.hh" +#include "main.hh" +#include "warn.hh" /* INIT */ - typedef void (*Void_fptr) (); vector *scm_init_funcs_; @@ -33,12 +43,12 @@ ly_init_ly_module (void *) for (vsize i = scm_init_funcs_->size (); i--;) (scm_init_funcs_->at (i)) (); - if (be_verbose_global) + if (is_loglevel (LOG_DEBUG)) { - progress_indication ("["); + debug_output ("[", true); scm_display (scm_c_eval_string ("(%search-load-path \"lily.scm\")"), - scm_current_error_port ()); - progress_indication ("]\n"); + scm_current_error_port ()); + debug_output ("]\n", false); } scm_primitive_load_path (scm_from_locale_string ("lily.scm"));