commit | f5be7cd01642fafc4b7d68894eb60cca60c7a405 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Aug 17 16:55:13 2017 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Aug 17 16:55:13 2017 +0200 |
tree | bcbb7f2839092ec9b2d68b4d30b2678efff71d99 | |
parent | a83e3962ac0e4bbfef15a072ad9a7390fc255409 [diff] [blame] |
patch 8.0.0953: get "no write since last change" error in terminal window 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.
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index fa5a888..70f3e57 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c
@@ -7468,7 +7468,7 @@ else # endif { - EMSG(_(e_nowrtmsg)); + no_write_message(); return; } }