diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-03-04 20:14:14 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-03-04 20:14:14 +0100 |
commit | 8a3bb56230d220b8e1b4dcca517ed95f5341b8c7 (patch) | |
tree | e1d195050f92f44fc1993ca016c07611cb6faaa7 /src/buffer.c | |
parent | 107279c17b3a21899e0a9d0293ada040216539ba (diff) |
patch 8.0.1566: too many #ifdefsv8.0.1566
Problem: Too many #ifdefs.
Solution: Graduate FEAT_SCROLLBIND and FEAT_CURSORBIND.
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/buffer.c b/src/buffer.c index 3285577412..b292150a2e 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -1583,8 +1583,7 @@ do_buffer( /* Go to the other buffer. */ set_curbuf(buf, action); -#if defined(FEAT_LISTCMDS) \ - && (defined(FEAT_SCROLLBIND) || defined(FEAT_CURSORBIND)) +#if defined(FEAT_LISTCMDS) if (action == DOBUF_SPLIT) { RESET_BINDING(curwin); /* reset 'scrollbind' and 'cursorbind' */ |