diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-12-13 13:12:53 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-12-13 13:12:53 +0000 |
commit | 739f13a55b4982efb37ebc9282e7f79975fff982 (patch) | |
tree | 7ff6654580ba561b06c1fccaf2dffbf8a2334815 /src/change.c | |
parent | 33b968dc60c5fa39451098e680c7559ebc65d1a7 (diff) | |
download | vim-git-739f13a55b4982efb37ebc9282e7f79975fff982.tar.gz |
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.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/change.c b/src/change.c index bfcb6ccda..1e008a4b0 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) |