summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-12-09 19:51:49 +0100
committerBram Moolenaar <Bram@vim.org>2017-12-09 19:51:49 +0100
commitf405c8fe85bba6dc96a68a12ab976f745fc51a38 (patch)
tree88916960c439cc73774c8c9d0d030ea33b510bbd /src/ex_cmds.c
parent620ca2da372dc9c892022faff83d363c67cc5c45 (diff)
patch 8.0.1382: get "no write since last change" message if terminal is openv8.0.1382
Problem: Get "no write since last change" message if a terminal is open. (Fritz mehner) Solution: Don't consider a buffer changed if it's a terminal window.
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index fc55815517..cd8b0c3f57 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -1482,7 +1482,7 @@ do_shell(
#endif
&& msg_silent == 0)
FOR_ALL_BUFFERS(buf)
- if (bufIsChanged(buf))
+ if (bufIsChangedNotTerm(buf))
{
#ifdef FEAT_GUI_MSWIN
if (!winstart)