diff options
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r-- | src/nvim/buffer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c index ee606d9e80..2f5ae416b3 100644 --- a/src/nvim/buffer.c +++ b/src/nvim/buffer.c @@ -1111,8 +1111,7 @@ do_buffer ( /* Go to the other buffer. */ set_curbuf(buf, action); -#if defined(FEAT_LISTCMDS) \ - && (defined(FEAT_SCROLLBIND) || defined(FEAT_CURSORBIND)) +#ifdef FEAT_LISTCMDS if (action == DOBUF_SPLIT) { RESET_BINDING(curwin); /* reset 'scrollbind' and 'cursorbind' */ } |