diff options
author | David Kastrup <dak@gnu.org> | 2013-03-14 13:46:49 +0100 |
---|---|---|
committer | David Kastrup <dak@gnu.org> | 2013-03-21 07:26:16 +0100 |
commit | 543dc9db58da5e3acaf72dae2478933742fa6e90 (patch) | |
tree | 5cb7abdcc725652e64373dcda1a127e69458fda8 /python | |
parent | be1247a9a2f9884f4c6b92bb6b637917a544a951 (diff) |
Issue 3244: Remove -d old-relative compatibility option
This removes the lily_1_8_relative variable and the code surrounding
it. lily_1_8_relative_used apparently was unused; Scheme code for
interpreting its setting was not connected to the actual variable.
The callback for repeat-music was not actually being used and has been
removed. While the command line option was still documented, it was
ineffective: only reenabling it in the file itself lead to any effect.
ly:relative-music::relative-callback and
ly:relative-music::no-relative-callback are now functionally
equivalent.
Diffstat (limited to 'python')
-rw-r--r-- | python/convertrules.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/python/convertrules.py b/python/convertrules.py index a1c8d507a6..274313b260 100644 --- a/python/convertrules.py +++ b/python/convertrules.py @@ -3520,6 +3520,14 @@ def conv(str): r"\1/\2", str) return str +@rule((2, 17, 15), r"#(ly:set-option 'old-relative)") +def conv(str): + if re.search (r"[#$]\(ly:set-option\s+'old-relative", str): + stderr_write (NOT_SMART % "#(ly:set-option 'old-relative)") + stderr_write (UPDATE_MANUALLY) + raise FatalConversionError (); + return str + # Guidelines to write rules (please keep this at the end of this file) # # - keep at most one rule per version; if several conversions should be done, |