X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fmodule-scheme.cc;h=07943858a636a18b0248c7475d0c3229c43689e2;hb=b0984ac0eae12ef21adcdbc4922354e731e8f22d;hp=ce08c424567d32a7d45e92bbd0fc79cc01b08d77;hpb=f9214bac21e9926dc3248416f58190c98c4167a9;p=lilypond.git diff --git a/lily/module-scheme.cc b/lily/module-scheme.cc index ce08c42456..07943858a6 100644 --- a/lily/module-scheme.cc +++ b/lily/module-scheme.cc @@ -14,7 +14,7 @@ /* - If a variable in changed in SRC, we DEST doesn't see the + If a variable is changed in SRC, then DEST doesn't see the definitions. */ @@ -30,7 +30,7 @@ module_define_closure_func (void *closure, SCM key, SCM val, SCM result) LY_DEFINE (ly_module_copy, "ly:module-copy", 2, 0, 0, (SCM dest, SCM src), - "Copy all bindings from module SRC into DEST.") + "Copy all bindings from module @var{src} into @var{dest}.") { #define FUNC_NAME __FUNCTION__ SCM_VALIDATE_MODULE (1, src); @@ -42,8 +42,8 @@ LY_DEFINE (ly_module_copy, "ly:module-copy", LY_DEFINE (ly_clear_anonymous_modules, "ly:clear-anonymous-modules", 0, 0, 0, (), - "Plug a GUILE 1.6 and 1.7 memory leak by breaking a weak reference " - "pointer cycle explicitly.") + "Plug a GUILE 1.6 and 1.7 memory leak by breaking a weak" + " reference pointer cycle explicitly.") { #ifdef MODULE_GC_KLUDGE clear_anonymous_modules (); @@ -68,9 +68,9 @@ ly_module_lookup (SCM module, SCM sym) LY_DEFINE (ly_modules_lookup, "ly:modules-lookup", 2, 1, 0, (SCM modules, SCM sym, SCM def), - "Lookup @var{sym} in the list @var{modules}, " - "returning the first occurence. " - "If not found, return @var{default}, or @code{#f}.") + "Look up @var{sym} in the list @var{modules}," + " returning the first occurence. If not found, return" + " @var{def} or @code{#f} if @var{def} isn't specified.") { for (SCM s = modules; scm_is_pair (s); s = scm_cdr (s)) {