aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nvim/ex_cmds.c3
-rw-r--r--src/nvim/vim.h1
2 files changed, 0 insertions, 4 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c
index 1dd76553d4..abed909008 100644
--- a/src/nvim/ex_cmds.c
+++ b/src/nvim/ex_cmds.c
@@ -1391,9 +1391,6 @@ do_shell(
msg_row = Rows - 1;
msg_col = 0;
- // display any error messages now
- display_errors();
-
apply_autocmds(EVENT_SHELLCMDPOST, NULL, NULL, FALSE, curbuf);
}
diff --git a/src/nvim/vim.h b/src/nvim/vim.h
index 5261d266b2..60737014b3 100644
--- a/src/nvim/vim.h
+++ b/src/nvim/vim.h
@@ -291,7 +291,6 @@ enum { FOLD_TEXT_LEN = 51 }; //!< buffer size for get_foldtext()
# define mch_errmsg(str) fprintf(stderr, "%s", (str))
# define mch_msg(str) printf("%s", (str))
#endif
-#define display_errors() fflush(stderr)
#include "nvim/globals.h" // global variables and messages
#include "nvim/buffer_defs.h" // buffer and windows