summaryrefslogtreecommitdiffstats
path: root/src/change.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-12-13 13:12:53 +0000
committerBram Moolenaar <Bram@vim.org>2021-12-13 13:12:53 +0000
commit739f13a55b4982efb37ebc9282e7f79975fff982 (patch)
tree7ff6654580ba561b06c1fccaf2dffbf8a2334815 /src/change.c
parent33b968dc60c5fa39451098e680c7559ebc65d1a7 (diff)
patch 8.2.3795: too many #ifdefsv8.2.3795
Problem: Too many #ifdefs. Solution: Graduate the jumplist feature.
Diffstat (limited to 'src/change.c')
-rw-r--r--src/change.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/change.c b/src/change.c
index bfcb6ccda7..1e008a4b00 100644
--- a/src/change.c
+++ b/src/change.c
@@ -469,11 +469,9 @@ changed_common(
win_T *wp;
tabpage_T *tp;
int i;
-#ifdef FEAT_JUMPLIST
int cols;
pos_T *p;
int add;
-#endif
// mark the buffer as modified
changed();
@@ -492,7 +490,6 @@ changed_common(
curbuf->b_last_change.lnum = lnum;
curbuf->b_last_change.col = col;
-#ifdef FEAT_JUMPLIST
// Create a new entry if a new undo-able change was started or we
// don't have an entry yet.
if (curbuf->b_new_change || curbuf->b_changelistlen == 0)
@@ -552,7 +549,6 @@ changed_common(
// The current window is always after the last change, so that "g,"
// takes you back to it.
curwin->w_changelistidx = curbuf->b_changelistlen;
-#endif
}
FOR_ALL_TAB_WINDOWS(tp, wp)