diff options
-rw-r--r-- | src/ex_cmds_defs.h | 2 | ||||
-rw-r--r-- | src/ex_docmd.c | 9 | ||||
-rw-r--r-- | src/ui.c | 17 |
3 files changed, 0 insertions, 28 deletions
diff --git a/src/ex_cmds_defs.h b/src/ex_cmds_defs.h index 3b173341e1..87f6c8c86c 100644 --- a/src/ex_cmds_defs.h +++ b/src/ex_cmds_defs.h @@ -843,8 +843,6 @@ enum CMD_index BANG|FILE1|RANGE|NOTADR|EDITCMD|ARGOPT|TRLBAR), EX(CMD_sfirst, "sfirst", ex_rewind, EXTRA|BANG|EDITCMD|ARGOPT|TRLBAR), - EX(CMD_shell, "shell", ex_shell, - TRLBAR|CMDWIN), EX(CMD_simalt, "simalt", ex_simalt, NEEDARG|WORD1|TRLBAR|CMDWIN), EX(CMD_sign, "sign", ex_sign, diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 6d2a58b246..888148eb69 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -155,7 +155,6 @@ static void ex_stop(exarg_T *eap); static void ex_exit(exarg_T *eap); static void ex_print(exarg_T *eap); static void ex_goto(exarg_T *eap); -static void ex_shell(exarg_T *eap); static void ex_preserve(exarg_T *eap); static void ex_recover(exarg_T *eap); static void ex_mode(exarg_T *eap); @@ -5722,14 +5721,6 @@ static void ex_goto(exarg_T *eap) goto_byte(eap->line2); } -/* - * ":shell". - */ -static void ex_shell(exarg_T *eap) -{ - do_shell(NULL, 0); -} - #if (defined(FEAT_WINDOWS) && defined(HAVE_DROP_FILE)) \ || (defined(FEAT_GUI_GTK) && defined(FEAT_DND)) \ || defined(FEAT_GUI_MSWIN) \ @@ -209,23 +209,6 @@ void ui_suspend(void) mch_suspend(); } -#if !defined(UNIX) || !defined(SIGTSTP) || defined(PROTO) || defined(__BEOS__) -/* - * When the OS can't really suspend, call this function to start a shell. - * This is never called in the GUI. - */ -void suspend_shell(void) -{ - if (*p_sh == NUL) - EMSG(_(e_shellempty)); - else { - MSG_PUTS(_("new shell started\n")); - do_shell(NULL, 0); - } -} - -#endif - /* * Try to get the current Vim shell size. Put the result in Rows and Columns. * Use the new sizes as defaults for 'columns' and 'lines'. |