* src/{browser,files,help,prompt,text,winio}.c: Let the function
bottombars() set the global variable 'currmenu' -- the displayed
menu must necessarily be the active one.
+ * src/browser.c (filesearch_abort): Elide this function.
2015-04-05 Benno Schulenberg <bensberg@justemail.net>
* doc/texinfo/nano.texi: Expand on nano's features, condense the
selected = currselected;
}
-/* Abort the current filename search. Clean up by setting the current
- * shortcut list to the browser shortcut list, and displaying it. */
-void filesearch_abort(void)
-{
- bottombars(MBROWSER);
-}
-
/* Search for a filename. */
void do_filesearch(void)
{
if (filesearch_init() != 0) {
/* Cancelled or a blank search string. */
- filesearch_abort();
+ bottombars(MBROWSER);
return;
}
findnextfile(answer);
- filesearch_abort();
+ bottombars(MBROWSER);
}
/* Search for the last given filename again without prompting. */
statusbar(_("No current search pattern"));
else
findnextfile(last_search);
-
- filesearch_abort();
}
/* Select the first file in the list. */