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_cmds2.c b/src/ex_cmds2.c
index 8a11fbb..8ca11f0 100644
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -1934,9 +1934,9 @@
}
#endif
if (flags & CCGD_EXCMD)
- EMSG(_(e_nowrtmsg));
+ no_write_message();
else
- EMSG(_(e_nowrtmsg_nobang));
+ no_write_message_nobang();
return TRUE;
}
return FALSE;