diff --git a/src/files.c b/src/files.c index c4d1f764..00e2e03a 100644 --- a/src/files.c +++ b/src/files.c @@ -1110,6 +1110,7 @@ void do_insertfile(void) i = 0; } #endif +#ifndef NANO_TINY if (func == flip_pipe) { /* Remove or add the pipe character at the answer's head. */ if (answer[0] == '|') { @@ -1126,7 +1127,7 @@ void do_insertfile(void) given = mallocstrcpy(given, answer); continue; } - +#endif /* If we don't have a file yet, go back to the prompt. */ if (i != 0 && (!ISSET(MULTIBUFFER) || i != -2)) continue; diff --git a/src/global.c b/src/global.c index 4befbc4b..adf37b60 100644 --- a/src/global.c +++ b/src/global.c @@ -1041,10 +1041,11 @@ void shortcut_init(void) add_to_funcs(flip_newbuffer, MINSERTFILE|MEXTCMD, N_("New Buffer"), WITHORSANS(newbuffer_gist), TOGETHER, NOVIEW); #endif +#ifndef NANO_TINY if (!ISSET(RESTRICTED)) add_to_funcs(flip_pipe, MEXTCMD, N_("Pipe Text"), WITHORSANS(pipe_gist), TOGETHER, NOVIEW); - +#endif #ifdef ENABLE_BROWSER /* The file browser is only available when not in restricted mode. */ if (!ISSET(RESTRICTED))