summaryrefslogtreecommitdiff
path: root/src/move.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/move.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/move.c')
-rw-r--r--src/move.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/move.c b/src/move.c
index 45f7be4ed..a56003013 100644
--- a/src/move.c
+++ b/src/move.c
@@ -184,9 +184,7 @@ update_topline(void)
curwin->w_topline = curwin->w_cursor.lnum;
curwin->w_botline = curwin->w_topline;
curwin->w_valid |= VALID_BOTLINE|VALID_BOTLINE_AP;
-#ifdef FEAT_SCROLLBIND
curwin->w_scbind_pos = 1;
-#endif
return;
}
@@ -215,9 +213,7 @@ update_topline(void)
curwin->w_topline = 1;
curwin->w_botline = 2;
curwin->w_valid |= VALID_BOTLINE|VALID_BOTLINE_AP;
-#ifdef FEAT_SCROLLBIND
curwin->w_scbind_pos = 1;
-#endif
}
/*
@@ -2773,7 +2769,6 @@ halfpage(int flag, linenr_T Prenum)
redraw_later(VALID);
}
-#if defined(FEAT_CURSORBIND) || defined(PROTO)
void
do_check_cursorbind(void)
{
@@ -2846,4 +2841,3 @@ do_check_cursorbind(void)
curwin = old_curwin;
curbuf = old_curbuf;
}
-#endif /* FEAT_CURSORBIND */