]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 3794: Fix doc string for ly:context-def-lookup
authorDavid Kastrup <dak@gnu.org>
Fri, 10 Jan 2014 00:29:40 +0000 (01:29 +0100)
committerDavid Kastrup <dak@gnu.org>
Wed, 15 Jan 2014 10:04:14 +0000 (11:04 +0100)
lily/context-def.cc

index fb5657b6ed0aec0520bb0cb19f1e7d48dc92b1dd..56da817e105cb322f9b4a6ed70e0dfab9ea498d0 100644 (file)
@@ -396,9 +396,12 @@ Context_def::is_alias (SCM sym) const
 
 LY_DEFINE (ly_context_def_lookup, "ly:context-def-lookup",
            2, 1, 0, (SCM def, SCM sym, SCM val),
-           "Return the value of @var{sym} in output definition @var{def}"
-           " (e.g., @code{\\paper}).  If no value is found, return"
-           " @var{val} or @code{'()} if @var{val} is undefined.")
+           "Return the value of @var{sym} in context definition @var{def}"
+           " (e.g., @code{\\Voice}).  If no value is found, return"
+           " @var{val} or @code{'()} if @var{val} is undefined."
+           " @var{sym} can be any of @samp{default-child}, @samp{consists},"
+           " @samp{description}, @samp{aliases}, @samp{accepts},"
+           " @samp{property-ops}, @samp{context-name}, @samp{group-type}.")
 {
   LY_ASSERT_SMOB (Context_def, def, 1);
   Context_def *cd = unsmob_context_def (def);