tweaks: reshuffle a fragment, to group some toggles together

master
Benno Schulenberg 2019-10-02 15:07:04 +02:00
parent 9c202198a3
commit 2a4d338d97
1 changed files with 5 additions and 7 deletions

View File

@ -1115,6 +1115,11 @@ void do_insertfile(void)
execute = !execute;
continue;
}
if (func == flip_pipe) {
add_or_remove_pipe_symbol_from_answer();
given = mallocstrcpy(given, answer);
continue;
}
#endif
#ifdef ENABLE_BROWSER
if (func == to_files_void) {
@ -1128,13 +1133,6 @@ void do_insertfile(void)
answer = chosen;
response = 0;
}
#endif
#ifndef NANO_TINY
if (func == flip_pipe) {
add_or_remove_pipe_symbol_from_answer();
given = mallocstrcpy(given, answer);
continue;
}
#endif
/* If we don't have a file yet, go back to the prompt. */
if (response != 0 && (!ISSET(MULTIBUFFER) || response != -2))