mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.3795: too many #ifdefs
Problem: Too many #ifdefs. Solution: Graduate the jumplist feature.
This commit is contained in:
@@ -1416,7 +1416,6 @@ do_buffer_ext(
|
||||
bp = NULL; // used when no loaded buffer found
|
||||
if (au_new_curbuf.br_buf != NULL && bufref_valid(&au_new_curbuf))
|
||||
buf = au_new_curbuf.br_buf;
|
||||
#ifdef FEAT_JUMPLIST
|
||||
else if (curwin->w_jumplistlen > 0)
|
||||
{
|
||||
int jumpidx;
|
||||
@@ -1452,7 +1451,6 @@ do_buffer_ext(
|
||||
break;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
if (buf == NULL) // No previous buffer, Try 2'nd approach
|
||||
{
|
||||
|
Reference in New Issue
Block a user