From dc9ded1db64cb1be18c922d3145ed9e20932a0cc Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Mon, 6 Jan 2003 23:47:36 +0000 Subject: [PATCH] *** empty log message *** --- lily/new-chord-name-engraver.cc | 2 +- python/lilylib.py | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lily/new-chord-name-engraver.cc b/lily/new-chord-name-engraver.cc index e0be6ccf72..a8277908e6 100644 --- a/lily/new-chord-name-engraver.cc +++ b/lily/new-chord-name-engraver.cc @@ -87,7 +87,7 @@ New_chord_name_engraver::process_music () chord_name_->set_grob_property("text", markup); announce_grob(chord_name_, SCM_EOL); SCM s = get_property ("chordChanges"); - if (to_boolean (s) && ly_car (last_chord_) != SCM_EOL + if (to_boolean (s) && gh_pair_p (last_chord_) && gh_equal_p (chord_as_scm, last_chord_)) chord_name_->set_grob_property ("begin-of-line-visible", SCM_BOOL_T); diff --git a/python/lilylib.py b/python/lilylib.py index f33cb6bef1..3f0b0e7302 100644 --- a/python/lilylib.py +++ b/python/lilylib.py @@ -270,7 +270,12 @@ Exit status of CMD ''' exit_status = status >> 8 if status: - msg = _ ("`%s\' failed (%d)") % (name, exit_status) + + exit_type = 'status %d' % exit_status + if signal: + exit_type = 'signal %d' % signal + + msg = _ ("`%s\' failed (%s)") % (name, exit_type) if ignore_error: if __main__.verbose_p: warning (msg + ' ' + _ ("(ignored)")) -- 2.39.5