Mercurial > vim
diff src/proto/buffer.pro @ 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 | 91a26b7a4119 |
children | b5806be0b36d |
line wrap: on
line diff
--- a/src/proto/buffer.pro +++ b/src/proto/buffer.pro @@ -13,6 +13,8 @@ int do_buffer(int action, int start, int void set_curbuf(buf_T *buf, int action); void enter_buffer(buf_T *buf); void do_autochdir(void); +void no_write_message(void); +void no_write_message_nobang(void); buf_T *buflist_new(char_u *ffname, char_u *sfname, linenr_T lnum, int flags); void free_buf_options(buf_T *buf, int free_p_ff); int buflist_getfile(int n, linenr_T lnum, int options, int forceit);