summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds2.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-02-19 23:10:02 +0100
committerBram Moolenaar <Bram@vim.org>2018-02-19 23:10:02 +0100
commit7a76092a51fc5446426a4bfd9eb6503ec61bf9e9 (patch)
tree8611ab3fbe9f232764ad5a9dc944c0c8aed807e3 /src/ex_cmds2.c
parent9c8816bd306a003c2ac3dce161be3fef481c9902 (diff)
patch 8.0.1525: using :wqa exits even if a job runs in a terminal windowv8.0.1525
Problem: Using :wqa exits even if a job runs in a terminal window. (Jason Felice) Solution: Check if a terminal has a running job. (closes #2654)
Diffstat (limited to 'src/ex_cmds2.c')
-rw-r--r--src/ex_cmds2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c
index 6476d55169..805e8c4587 100644
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -2110,7 +2110,7 @@ check_changed(buf_T *buf, int flags)
if (flags & CCGD_EXCMD)
no_write_message();
else
- no_write_message_nobang();
+ no_write_message_nobang(curbuf);
return TRUE;
}
return FALSE;