diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-03-25 22:21:24 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-03-25 22:21:24 +0100 |
commit | a84a3dd6635fcd2e07f510cba6a999585dcc381a (patch) | |
tree | 5ec1f6fef107b2cf8fe33a5bf5bb04fd9edc6999 /src/proto/undo.pro | |
parent | b45125b374cc3a1cef176b704f518c72c518f24c (diff) |
patch 8.1.1049: when user tries to exit with CTRL-C message is confusingv8.1.1049
Problem: When user tries to exit with CTRL-C message is confusing.
Solution: Only mention ":qa!" when there is a changed buffer. (closes #4163)
Diffstat (limited to 'src/proto/undo.pro')
-rw-r--r-- | src/proto/undo.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/undo.pro b/src/proto/undo.pro index 1052d40c2b..f2190bfea9 100644 --- a/src/proto/undo.pro +++ b/src/proto/undo.pro @@ -25,6 +25,7 @@ void u_clearline(void); void u_undoline(void); void u_blockfree(buf_T *buf); int bufIsChanged(buf_T *buf); +int anyBufIsChanged(void); int bufIsChangedNotTerm(buf_T *buf); int curbufIsChanged(void); void u_eval_tree(u_header_T *first_uhp, list_T *list); |