On 22.02.2016 02:04, David Kastrup wrote:
Simon Albrecht <[email protected]> writes:

*location* is a procedure (used for accessing the fluid %location local
to the guile module), not a location.  So call it.
OK, that’s one thing. But with (*location*) I still get the same error
message that it be of the wrong type…
Example code?

Same as I previously sent, only with brackets added around *location*. See attached.

Best, Simon
\version "2.19.36"

m =
#(define-music-function ()()
   (ly:warning-located (*location*) "Here, \\m should be replaced with \\melisma.")
   #{ \melisma #})

<<
  {
    c'1\m d\melismaEnd
  }
  \addlyrics { test test }
>>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to