comparison src/proto/buffer.pro @ 2394:a3aca345aafa vim73

Add the 'undoreload' option to be able to undo a file reload.
author Bram Moolenaar <bram@vim.org>
date Sat, 24 Jul 2010 20:27:03 +0200
parents 720a59d79bcd
children 9ccdc4a69d8f
comparison
equal deleted inserted replaced
2393:210a5605e126 2394:a3aca345aafa
1 /* buffer.c */ 1 /* buffer.c */
2 int open_buffer __ARGS((int read_stdin, exarg_T *eap)); 2 int open_buffer __ARGS((int read_stdin, exarg_T *eap, int flags));
3 int buf_valid __ARGS((buf_T *buf)); 3 int buf_valid __ARGS((buf_T *buf));
4 void close_buffer __ARGS((win_T *win, buf_T *buf, int action)); 4 void close_buffer __ARGS((win_T *win, buf_T *buf, int action));
5 void buf_clear_file __ARGS((buf_T *buf)); 5 void buf_clear_file __ARGS((buf_T *buf));
6 void buf_freeall __ARGS((buf_T *buf, int del_buf, int wipe_buf)); 6 void buf_freeall __ARGS((buf_T *buf, int flags));
7 void goto_buffer __ARGS((exarg_T *eap, int start, int dir, int count)); 7 void goto_buffer __ARGS((exarg_T *eap, int start, int dir, int count));
8 void handle_swap_exists __ARGS((buf_T *old_curbuf)); 8 void handle_swap_exists __ARGS((buf_T *old_curbuf));
9 char_u *do_bufdel __ARGS((int command, char_u *arg, int addr_count, int start_bnr, int end_bnr, int forceit)); 9 char_u *do_bufdel __ARGS((int command, char_u *arg, int addr_count, int start_bnr, int end_bnr, int forceit));
10 int do_buffer __ARGS((int action, int start, int dir, int count, int forceit)); 10 int do_buffer __ARGS((int action, int start, int dir, int count, int forceit));
11 void set_curbuf __ARGS((buf_T *buf, int action)); 11 void set_curbuf __ARGS((buf_T *buf, int action));