Mercurial > vim
comparison src/proto/ex_cmds.pro @ 3486:f9a865d97614 v7.3.507
updated for version 7.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)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 25 Apr 2012 17:32:18 +0200 |
parents | f13849167330 |
children | fa39483a1363 |
comparison
equal
deleted
inserted
replaced
3485:0c88089c42de | 3486:f9a865d97614 |
---|---|
21 void print_line __ARGS((linenr_T lnum, int use_number, int list)); | 21 void print_line __ARGS((linenr_T lnum, int use_number, int list)); |
22 void ex_file __ARGS((exarg_T *eap)); | 22 void ex_file __ARGS((exarg_T *eap)); |
23 void ex_update __ARGS((exarg_T *eap)); | 23 void ex_update __ARGS((exarg_T *eap)); |
24 void ex_write __ARGS((exarg_T *eap)); | 24 void ex_write __ARGS((exarg_T *eap)); |
25 int do_write __ARGS((exarg_T *eap)); | 25 int do_write __ARGS((exarg_T *eap)); |
26 int check_overwrite __ARGS((exarg_T *eap, buf_T *buf, char_u *fname, char_u *ffname, int other)); | |
26 void ex_wnext __ARGS((exarg_T *eap)); | 27 void ex_wnext __ARGS((exarg_T *eap)); |
27 void do_wqall __ARGS((exarg_T *eap)); | 28 void do_wqall __ARGS((exarg_T *eap)); |
28 int not_writing __ARGS((void)); | 29 int not_writing __ARGS((void)); |
29 int getfile __ARGS((int fnum, char_u *ffname, char_u *sfname, int setpm, linenr_T lnum, int forceit)); | 30 int getfile __ARGS((int fnum, char_u *ffname, char_u *sfname, int setpm, linenr_T lnum, int forceit)); |
30 int do_ecmd __ARGS((int fnum, char_u *ffname, char_u *sfname, exarg_T *eap, linenr_T newlnum, int flags, win_T *oldwin)); | 31 int do_ecmd __ARGS((int fnum, char_u *ffname, char_u *sfname, exarg_T *eap, linenr_T newlnum, int flags, win_T *oldwin)); |