aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-06-14 04:38:41 -0700
committerGitHub <noreply@github.com>2019-06-14 04:38:41 -0700
commitfdbb5a8f727c8fa2f84f6ae3952598a25db37cb3 (patch)
treea5153aeadf1bae34dc775fb01186acab745e4ccc /src/nvim/ex_cmds.c
parenta0496e3b76e417ed718f72665d3c3f99a385367d (diff)
parent18b031ea1d3830c8ff25f4d5ee488f68f464dbee (diff)
downloadrneovim-fdbb5a8f727c8fa2f84f6ae3952598a25db37cb3.tar.gz
rneovim-fdbb5a8f727c8fa2f84f6ae3952598a25db37cb3.tar.bz2
rneovim-fdbb5a8f727c8fa2f84f6ae3952598a25db37cb3.zip
Merge #10208 from janlazo/vim-8.0.0931
vim-patch:8.0.{931,933,953}
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r--src/nvim/ex_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c
index 1dd76553d4..30667b64e5 100644
--- a/src/nvim/ex_cmds.c
+++ b/src/nvim/ex_cmds.c
@@ -2076,7 +2076,7 @@ int getfile(int fnum, char_u *ffname, char_u *sfname, int setpm, linenr_T lnum,
}
if (curbufIsChanged()) {
no_wait_return--;
- EMSG(_(e_nowrtmsg));
+ no_write_message();
retval = GETFILE_NOT_WRITTEN; // File has been changed.
goto theend;
}