[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/4] scm/define-markup-commands.scm: remove some unnecessary look

From: David Kastrup
Subject: [PATCH 1/4] scm/define-markup-commands.scm: remove some unnecessary lookups
Date: Mon, 23 Nov 2009 01:03:10 +0100

 scm/define-markup-commands.scm |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

This patch series makes the syntax of builtin markup
commands upwards compatible with the user level ones.

diff --git a/scm/define-markup-commands.scm b/scm/define-markup-commands.scm
index 449f3c7..0910f81 100644
--- a/scm/define-markup-commands.scm
+++ b/scm/define-markup-commands.scm
@@ -824,7 +824,6 @@ If there are no arguments, return an empty stencil.
         (text-width (apply + text-widths))
         (word-count (length stencils))
-        (prop-line-width (chain-assoc-get 'line-width props #f))
         (line-width (or line-width (ly:output-def-lookup layout 'line-width)))
@@ -3290,7 +3289,7 @@ where @var{X} is the number of staff spaces."
   "Like @code{\\column}, but return a list of lines instead of a single markup.
 @code{baseline-skip} determines the space between each markup in @var{args}."
-  (space-lines (chain-assoc-get 'baseline-skip props)
+  (space-lines baseline-skip
               (interpret-markup-list layout props args)))
 (define-builtin-markup-list-command (override-lines layout props new-prop args)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]