+2004-03-03 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+ * lily/text-item.cc (interpret_markup): cache make-simple-markup
+
2004-03-03 Jan Nieuwenhuizen <janneke@gnu.org>
* input/test/title-markup.ly (spaceTest): Add.
@itemize @bullet
-@item Property functions can now be used as arguments of @code{set!},
+@item Property functions may be used as an argument to @code{set!},
for example
@example
Paper_outputter::output_metadata (SCM scopes, Paper_def *paper)
{
SCM fields = SCM_EOL;
- for (int i = dump_header_fieldnames_global.size (); i--;)
+ for (int i = dump_header_fieldnames_global.size (); i--; )
fields = gh_cons (ly_symbol2scm (dump_header_fieldnames_global[i].to_str0 ()),
fields);
if (str.index_any (" \t\n\r") != -1)
{
/* Multi word string to line markup. */
- SCM proc = scm_c_eval_string ("make-simple-markup");
+ static SCM proc;
+ if (!proc)
+ proc = scm_c_eval_string ("make-simple-markup");
return interpret_markup (paper, props, scm_call_1 (proc, markup));
}