[frogs] Patch for removing oldaddlyrics function

[ Thread Index | Date Index | More lilynet.net/frogs Archives ]


Hi Carl,

Here's a patch to remove the oldaddlyrics function.
From delving into the history, it looks like convertly has already done stuff with this.in stages:
1. A  \newaddlyrics was added
2. \addlyrics was -> \oldaddlyrics
3. \newaddlyrics -> \addlyrics.
So I don't think I need to do anything more than change music-functions-init.ly.

Put me right if I'm wrong about this,

Cheers,

Ian Hulin
Author: Ian Hulin <ian@xxxxxxxxxxxx>  2009-02-01 21:11:11
Committer: Ian Hulin <ian@xxxxxxxxxxxx>  2009-02-01 21:11:11
Parent: 813d15e956789c53b0164da763c6812ded5b1e59 (Frogs Task 1- \mapMusic to \pageBreak, rework after feedback.)
Branch: master
Follows: release/2.12.1-1
Precedes: 

    For V2.12.3 - Remove Obsolete function oldaddlyrics
    
    Signed-off-by: Ian Hulin <ian@xxxxxxxxxxxx>

-------------------------- ly/music-functions-init.ly --------------------------
index 61a8197..d13510b 100644
@@ -1,4 +1,4 @@
-% -*-Scheme-*-
+% -*-Scheme-*-
 
 \version "2.12.0"
 
@@ -20,6 +20,11 @@ addQuote =
    (add-quotable parser name music)
    (make-music 'SequentialMusic 'void #t))
 
+%
+% TODO \addlyrics, \lyricmode \lyricsto and other lyrics functions are currently
+% not documented via docstrings here as they are not classed as Identifiers. 
+%
+
 afterGraceFraction =
 #(cons 6 8)
 
@@ -345,20 +350,6 @@ entire music expression (@var(mus))."
 )
 	     (music-map proc mus))
 
-%
-% TODO \addlyrics, \lyricmode \lyricsto and other lyrics functions are currently
-% not documented via docstrings here as they are not classed as Identifiers. 
-%
-oldaddlyrics =
-#(define-music-function (parser location music lyrics) (ly:music? ly:music?)
-(_i "Obsolete function @code{oldaddlyrics} @var(lyrics) was used to add a block 
-    of lyrics text to a music expression.
-    Please use @code(addlyrics) @var{lyrics} or 
-    @code{lyricsto} @var(voicename) @var(lyrics) and @code{lyricmode) instead.")
-              (make-music 'OldLyricCombineMusic 
-                          'origin location
-                          'elements (list music lyrics)))
-
 
 overrideProperty =
 #(define-music-function (parser location name property value)



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/