summaryrefslogtreecommitdiff
path: root/ly
diff options
context:
space:
mode:
authorHan-Wen Nienhuys <hanwen@xs4all.nl>2006-02-09 13:20:49 +0000
committerHan-Wen Nienhuys <hanwen@xs4all.nl>2006-02-09 13:20:49 +0000
commit6981f610082ad44e8d876b2fb1cb737b927a6478 (patch)
tree04b9dfb8d461acc771dc8e2502adbde734153f9a /ly
parentdcd8203180c35f6d4b6cc96e0ee2abb08f690e11 (diff)
* lily/relocate.cc (prefix_relocation): allow "current"
iso. TOPLEVEL_VERSION for share/lilypond/ suffix. This makes changing VERSION in a lily tree less painful. * input/regression/parenthesize.ly: new file. * scm/output-lib.scm (parenthesize-element): new function. * scm/define-grobs.scm (all-grob-descriptions): add ParenthesesItem. * lily/accidental-engraver.cc (make_standard_accidental): reroute cause: accidentals are caused by note heads, not note events.
Diffstat (limited to 'ly')
-rw-r--r--ly/music-functions-init.ly6
1 files changed, 6 insertions, 0 deletions
diff --git a/ly/music-functions-init.ly b/ly/music-functions-init.ly
index 42deb27cb5..50b87caf21 100644
--- a/ly/music-functions-init.ly
+++ b/ly/music-functions-init.ly
@@ -423,3 +423,9 @@ addquote =
(make-music 'SequentialMusic 'void #t))
+parenthesize =
+#(def-music-function (parser loc arg) (ly:music?)
+ "Tag @var{arg} to be parenthesized."
+
+ (set! (ly:music-property arg 'parenthesize) #t)
+ arg)