summaryrefslogtreecommitdiff
path: root/src/quickfix.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-08-17 16:55:13 +0200
committerBram Moolenaar <Bram@vim.org>2017-08-17 16:55:13 +0200
commitf5be7cd01642fafc4b7d68894eb60cca60c7a405 (patch)
treebcbb7f2839092ec9b2d68b4d30b2678efff71d99 /src/quickfix.c
parenta83e3962ac0e4bbfef15a072ad9a7390fc255409 (diff)
downloadvim-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/quickfix.c')
-rw-r--r--src/quickfix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quickfix.c b/src/quickfix.c
index 8c55a16c7..42077c2a3 100644
--- a/src/quickfix.c
+++ b/src/quickfix.c
@@ -2327,7 +2327,7 @@ win_found:
* set b_p_ro flag). */
if (!can_abandon(curbuf, forceit))
{
- EMSG(_(e_nowrtmsg));
+ no_write_message();
ok = FALSE;
}
else