summaryrefslogtreecommitdiff
path: root/src/edit.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-03-04 20:14:14 +0100
committerBram Moolenaar <Bram@vim.org>2018-03-04 20:14:14 +0100
commit8a3bb56230d220b8e1b4dcca517ed95f5341b8c7 (patch)
treee1d195050f92f44fc1993ca016c07611cb6faaa7 /src/edit.c
parent107279c17b3a21899e0a9d0293ada040216539ba (diff)
downloadvim-git-8a3bb56230d220b8e1b4dcca517ed95f5341b8c7.tar.gz
patch 8.0.1566: too many #ifdefsv8.0.1566
Problem: Too many #ifdefs. Solution: Graduate FEAT_SCROLLBIND and FEAT_CURSORBIND.
Diffstat (limited to 'src/edit.c')
-rw-r--r--src/edit.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/edit.c b/src/edit.c
index e20857df6..423ccea44 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -764,15 +764,11 @@ edit(
*/
ins_redraw(TRUE);
-#ifdef FEAT_SCROLLBIND
if (curwin->w_p_scb)
do_check_scrollbind(TRUE);
-#endif
-#ifdef FEAT_CURSORBIND
if (curwin->w_p_crb)
do_check_cursorbind();
-#endif
update_curswant();
old_topline = curwin->w_topline;
#ifdef FEAT_DIFF