This patch provides a convenient way of overriding nested properties,
matching the syntax available when using \revert, e.g.,
\override DynamicTextSpanner #'(bound-details left text) = #"foo"
--- /dev/null
+\version "2.11.64"
+\header {
+ texidoc = "Nested properties may be overridden using Scheme list
+syntax. This test performs two property overrides: the first
+measure uses standard @code{\\override} syntax; the second uses a
+list.
+"
+}
+
+\relative c' {
+ \once \override TextSpanner #'bound-details #'left #'text = #"foo"
+ c4\startTextSpan
+ \once \override Tie #'details #'note-head-gap = #3
+ c4 ~ c c\stopTextSpan
+
+ \once \override TextSpanner #'(bound-details left text) = #"foo"
+ c4\startTextSpan
+ \once \override Tie #'(details note-head-gap) = #3
+ c4 ~ c c\stopTextSpan
+}
((PropertySet) (list 'value (car args)))
((PropertyUnset) '())
((OverrideProperty) (list 'grob-value (car args)
- 'grob-property-path (cdr args)
+ 'grob-property-path (if (list? (cadr args))
+ (cadr args)
+ (cdr args))
'pop-first #t))
((RevertProperty)
(if (list? (car args))