Skip to content
Snippets Groups Projects
Commit d6c06b58 authored by Simon Tatham's avatar Simon Tatham
Browse files

Remove FileDataSource::want_to_jump_to_new_content.

It wasn't used at all, and never has been! When I introduced it in
commit 1e897d4c I wrote the method but forgot to add a call to
it, so files would jump to new content regardless of whether the
method returned true. Later I noticed that bug, and fixed it in commit
dcbcb9ae via the completely different method of checking the
is_interrupt parameter in TuiLogicalState::ensure_activity_state, so
we still didn't need this query method.

I think the technique of checking is_interrupt is perfectly sensible,
so we can just get rid of the unused want_to_jump_to_new_content.
parent 51c1452c
No related branches found
Tags upstream/0.120
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment