diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-08-17 16:55:13 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-08-17 16:55:13 +0200 |
commit | f5be7cd01642fafc4b7d68894eb60cca60c7a405 (patch) | |
tree | bcbb7f2839092ec9b2d68b4d30b2678efff71d99 /src/proto | |
parent | a83e3962ac0e4bbfef15a072ad9a7390fc255409 (diff) | |
download | vim-git-f5be7cd01642fafc4b7d68894eb60cca60c7a405.tar.gz |
patch 8.0.0953: get "no write since last change" error in terminal windowv8.0.0953
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.
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/buffer.pro | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/proto/buffer.pro b/src/proto/buffer.pro index d70981dac..485eb027d 100644 --- a/src/proto/buffer.pro +++ b/src/proto/buffer.pro @@ -13,6 +13,8 @@ int do_buffer(int action, int start, int dir, int count, int forceit); 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); |