comparison src/quickfix.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 69ce6b3f0834
children 3d0e042ec13c
comparison
equal deleted inserted replaced
12145:e3d303c068fc 12146:59c1e09cf1a9
2325 { 2325 {
2326 /* Open help file (do_ecmd() will set b_help flag, readfile() will 2326 /* Open help file (do_ecmd() will set b_help flag, readfile() will
2327 * set b_p_ro flag). */ 2327 * set b_p_ro flag). */
2328 if (!can_abandon(curbuf, forceit)) 2328 if (!can_abandon(curbuf, forceit))
2329 { 2329 {
2330 EMSG(_(e_nowrtmsg)); 2330 no_write_message();
2331 ok = FALSE; 2331 ok = FALSE;
2332 } 2332 }
2333 else 2333 else
2334 ok = do_ecmd(qf_ptr->qf_fnum, NULL, NULL, NULL, (linenr_T)1, 2334 ok = do_ecmd(qf_ptr->qf_fnum, NULL, NULL, NULL, (linenr_T)1,
2335 ECMD_HIDE + ECMD_SET_HELP, 2335 ECMD_HIDE + ECMD_SET_HELP,