[PATCH 3/3] Modify chord-name-engraver to call capo-handler |
[ Thread Index |
Date Index
| More lilynet.net/frogs Archives
]
- Subject: [PATCH 3/3] Modify chord-name-engraver to call capo-handler
- From: Wol <anthony@xxxxxxxxxxxxxxx>
- Date: Wed, 20 Jul 2011 19:01:18 +0100
---
lily/chord-name-engraver.cc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lily/chord-name-engraver.cc b/lily/chord-name-engraver.cc
index d0ced5a..2442cdb 100644
--- a/lily/chord-name-engraver.cc
+++ b/lily/chord-name-engraver.cc
@@ -124,8 +124,8 @@ Chord_name_engraver::process_music ()
pitches = scm_sort_list (pitches, Pitch::less_p_proc);
- SCM name_proc = get_property ("chordNameFunction");
- markup = scm_call_4 (name_proc, pitches, bass, inversion,
+ SCM capo_proc = ly_lily_module_constant ("capo-handler");
+ markup = scm_call_4 (capo_proc, pitches, bass, inversion,
context ()->self_scm ());
}
/*
--
1.7.3.4
--------------070902060703040007030606--
---
----
Join the Frogs!