summaryrefslogtreecommitdiffstats
path: root/src/proto/buffer.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-04-24 21:58:51 +0200
committerBram Moolenaar <Bram@vim.org>2018-04-24 21:58:51 +0200
commit46a53dfc29689c6a0d80e3820e8b0a48dba6b6ec (patch)
tree5ad1a9ee29f54608ea20a0a77581bf21f760d770 /src/proto/buffer.pro
parentb255b90503a986931904c23dafb5b6d4e512a17e (diff)
patch 8.0.1763: :argedit does not reuse an empty unnamed bufferv8.0.1763
Problem: :argedit does not reuse an empty unnamed buffer. Solution: Add the BLN_CURBUF flag and fix all the side effects. (Christian Brabandt, closes #2713)
Diffstat (limited to 'src/proto/buffer.pro')
-rw-r--r--src/proto/buffer.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/buffer.pro b/src/proto/buffer.pro
index 8b98843547..59bb2c2012 100644
--- a/src/proto/buffer.pro
+++ b/src/proto/buffer.pro
@@ -15,6 +15,7 @@ void enter_buffer(buf_T *buf);
void do_autochdir(void);
void no_write_message(void);
void no_write_message_nobang(buf_T *buf);
+int curbuf_reusable(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);