Fix error message in define-markup-function
commitbc41f1ab4e112d7a75f7d3feb62589124d283fec
authorCarl Sorensen <c_sorensen@byu.edu>
Sat, 11 Apr 2009 19:33:23 +0000 (11 13:33 -0600)
committerCarl Sorensen <c_sorensen@byu.edu>
Sat, 11 Apr 2009 19:33:23 +0000 (11 13:33 -0600)
tree249a1eb803f06d63c1a9182f0595b28347fa8708
parentf8f38976f780501a98fd79e4d1db22202a795692
Fix error message in define-markup-function

There was a syntax error in markup.scm
Also, ly_error would not pass the arguments to simple-format properly
if rest was a list in the scheme side (as in define-markup-function).
Therefore, if the format args are a list, get the car of rest in
ly_error so the args can be passed properly.
lily/general-scheme.cc
scm/markup.scm