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/undo.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/undo.c')
-rw-r--r-- | src/undo.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/undo.c b/src/undo.c index 033fa6ea0..ae1db43d0 100644 --- a/src/undo.c +++ b/src/undo.c @@ -240,7 +240,7 @@ u_save_cursor(void) /* * Save the lines between "top" and "bot" for both the "u" and "U" command. - * "top" may be 0 and bot may be curbuf->b_ml.ml_line_count + 1. + * "top" may be 0 and "bot" may be curbuf->b_ml.ml_line_count + 1. * Careful: may trigger autocommands that reload the buffer. * Returns FAIL when lines could not be saved, OK otherwise. */ @@ -497,10 +497,8 @@ u_savecommon( */ if (curbuf->b_u_synced) { -#ifdef FEAT_JUMPLIST // Need to create new entry in b_changelist. curbuf->b_new_change = TRUE; -#endif if (get_undolevel() >= 0) { |