diff src/ex_cmds.c @ 12146:59c1e09cf1a9 v8.0.0953

patch 8.0.0953: get "no write since last change" error in terminal window commit https://github.com/vim/vim/commit/f5be7cd01642fafc4b7d68894eb60cca60c7a405 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Aug 17 16:55:13 2017 +0200 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.
author Christian Brabandt <cb@256bit.org>
date Thu, 17 Aug 2017 17:00:05 +0200
parents bc0fee081e1e
children 98586656fcae
line wrap: on
line diff
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -3572,7 +3572,7 @@ getfile(
 	{
 	    if (other)
 		--no_wait_return;
-	    EMSG(_(e_nowrtmsg));
+	    no_write_message();
 	    retval = GETFILE_NOT_WRITTEN;	/* file has been changed */
 	    goto theend;
 	}