comparison 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
comparison
equal deleted inserted replaced
12145:e3d303c068fc 12146:59c1e09cf1a9
3570 if (curbufIsChanged()) 3570 if (curbufIsChanged())
3571 #endif 3571 #endif
3572 { 3572 {
3573 if (other) 3573 if (other)
3574 --no_wait_return; 3574 --no_wait_return;
3575 EMSG(_(e_nowrtmsg)); 3575 no_write_message();
3576 retval = GETFILE_NOT_WRITTEN; /* file has been changed */ 3576 retval = GETFILE_NOT_WRITTEN; /* file has been changed */
3577 goto theend; 3577 goto theend;
3578 } 3578 }
3579 } 3579 }
3580 if (other) 3580 if (other)