Retain labels stays a boolean without -r.

This commit is contained in:
Tom Alexander
2023-10-04 16:21:37 -04:00
parent da5dcd4c1b
commit 13163f2468
3 changed files with 12 additions and 2 deletions

View File

@@ -1626,7 +1626,7 @@ fn compare_example_block<'b, 's>(
}
// Compare retain-labels
// retain-labels is t by default, nil if -r is set, or a number if -k is set.
// retain-labels is t by default, nil if -r is set, or a number if -k and -r is set.
let retain_labels = get_property_unquoted_atom(emacs, ":retain-labels")?;
if let Some(retain_labels) = retain_labels {
if retain_labels == "t" {
@@ -1652,7 +1652,6 @@ fn compare_example_block<'b, 's>(
));
}
}
// foo
}
} else {
match rust.retain_labels {