DescriptionMake accidental styles available as context mods.
* lily/context-mod-scheme.cc (ly_make_context_mod):
add exported function to create new context mod, either empty or with
optional init list
* lily/context-mod.cc, lily/include/context-mod.hh:
add ctor which takes modification list
* lily/parser.yy (context_def_spec_body):
ignore `description' tag when adding context modification to prevent its
overwriting \description inside engraver-init.ly
* ly/context-mods-init.ly:
define all accidental styles as context modifications via helper function
* ly/engraver-init.ly (Score, MensuralStaff):
use context mod definitions for accidental style settings
* scm/music-functions.scm (set-accidental-style):
move styles to alist (all-accidental-styles), adding documentation strings
Patch Set 1 #
Total comments: 5
MessagesTotal messages: 15
|