Commit d0f37205 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

search: always go forward by default, also when coming from Goto-Line

This fixes https://savannah.gnu.org/bugs/?53735.
parent f05874ea
Showing with 1 addition and 0 deletions
+1 -0
......@@ -775,6 +775,7 @@ void do_gotolinecolumn(ssize_t line, ssize_t column, bool use_answer,
}
if (func_from_key(&i) == flip_goto) {
UNSET(BACKWARDS_SEARCH);
/* Retain what the user typed so far and switch to searching. */
search_init(FALSE, TRUE);
return;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment