diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-04-25 17:32:18 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-04-25 17:32:18 +0200 |
commit | 8218f60b610a004c17a5f74bcc6a1187f6fc4e75 (patch) | |
tree | 73490cab27209c860b7d98f15ef44a42dad65767 /src/proto/ex_cmds.pro | |
parent | 68fb5dcd1314e371df1b1ee24d99fab776711a65 (diff) | |
download | vim-git-8218f60b610a004c17a5f74bcc6a1187f6fc4e75.tar.gz |
updated for version 7.3.507v7.3.507
Problem: When exiting with unsaved changes, selecting an existing file in
the file dialog, there is no dialog to ask whether the existing
file should be overwritten. (Felipe G. Nievinski)
Solution: Call check_overwrite() before writing. (Christian Brabandt)
Diffstat (limited to 'src/proto/ex_cmds.pro')
-rw-r--r-- | src/proto/ex_cmds.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/ex_cmds.pro b/src/proto/ex_cmds.pro index ff868caee..1669d791a 100644 --- a/src/proto/ex_cmds.pro +++ b/src/proto/ex_cmds.pro @@ -23,6 +23,7 @@ void ex_file __ARGS((exarg_T *eap)); void ex_update __ARGS((exarg_T *eap)); void ex_write __ARGS((exarg_T *eap)); int do_write __ARGS((exarg_T *eap)); +int check_overwrite __ARGS((exarg_T *eap, buf_T *buf, char_u *fname, char_u *ffname, int other)); void ex_wnext __ARGS((exarg_T *eap)); void do_wqall __ARGS((exarg_T *eap)); int not_writing __ARGS((void)); |