diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-08-17 16:55:13 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-08-17 16:55:13 +0200 |
commit | f5be7cd01642fafc4b7d68894eb60cca60c7a405 (patch) | |
tree | bcbb7f2839092ec9b2d68b4d30b2678efff71d99 /src/ex_cmds.c | |
parent | a83e3962ac0e4bbfef15a072ad9a7390fc255409 (diff) | |
download | vim-git-f5be7cd01642fafc4b7d68894eb60cca60c7a405.tar.gz |
patch 8.0.0953: get "no write since last change" error in terminal windowv8.0.0953
Problem: Get "no write since last change" error in terminal window.
Solution: Use another message when closing a terminal window. Make ":quit!"
also end the job.
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r-- | src/ex_cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 61c85a917..8b21b81f2 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -3572,7 +3572,7 @@ getfile( { if (other) --no_wait_return; - EMSG(_(e_nowrtmsg)); + no_write_message(); retval = GETFILE_NOT_WRITTEN; /* file has been changed */ goto theend; } |