Add a TODO for why elisp_after.el has poor list highlighting

pull/25/head
Wilfred Hughes 2021-06-22 00:26:50 +07:00
parent ebe342f87c
commit c4cdf4b215
1 changed files with 3 additions and 0 deletions

@ -614,6 +614,9 @@ fn mark_unchanged_node<'a>(
},
Atom { .. },
) => {
// TODO: this produces poor results when RHS is
// not a descedant of the LHS children. We should
// step over RHS in that case.
lhs_node.set_change(Novel);
mark_unchanged_nodes(&lhs_children[..], std::slice::from_ref(&rhs_node), env);
}