From: Neil Puttock Date: Tue, 23 Nov 2010 22:54:57 +0000 (+0000) Subject: Fix point-and-click for \breathe. X-Git-Tag: release/2.13.41-1~1^2~22 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=d66cdce875b5403c2f8fa4db914d65bd0f7a5cda;p=lilypond.git Fix point-and-click for \breathe. * ly/music-functions-init.ly (breathe): junk EventChord wrapper for BreathingEvent --- diff --git a/ly/music-functions-init.ly b/ly/music-functions-init.ly index 82f5a91648..4a58f05522 100644 --- a/ly/music-functions-init.ly +++ b/ly/music-functions-init.ly @@ -198,13 +198,14 @@ bookOutputSuffix = (set! book-output-suffix newsuffix) (make-music 'SequentialMusic 'void #t)) -%% why a function? +%% \breathe is defined as a music function rather than an event identifier to +%% ensure it gets useful input location information: as an event identifier, +%% it would have to be wrapped in an EventChord to prevent it from being +%% treated as a post_event by the parser breathe = #(define-music-function (parser location) () (_i "Insert a breath mark.") - (make-music 'EventChord - 'origin location - 'elements (list (make-music 'BreathingEvent)))) + (make-music 'BreathingEvent))