patch 8.2.3795: too many #ifdefs
Problem: Too many #ifdefs.
Solution: Graduate the jumplist feature.
diff --git a/src/normal.c b/src/normal.c
index 2d75548..1e887ca 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -5593,12 +5593,11 @@
static void
nv_pcmark(cmdarg_T *cap)
{
-#ifdef FEAT_JUMPLIST
pos_T *pos;
-# ifdef FEAT_FOLDING
+#ifdef FEAT_FOLDING
linenr_T lnum = curwin->w_cursor.lnum;
int old_KeyTyped = KeyTyped; // getting file may reset it
-# endif
+#endif
if (!checkclearopq(cap->oap))
{
@@ -5638,9 +5637,6 @@
foldOpenCursor();
# endif
}
-#else
- clearopbeep(cap->oap);
-#endif
}
/*
@@ -6444,7 +6440,6 @@
do_exmode(TRUE);
break;
-#ifdef FEAT_JUMPLIST
case ',':
nv_pcmark(cap);
break;
@@ -6453,7 +6448,6 @@
cap->count1 = -cap->count1;
nv_pcmark(cap);
break;
-#endif
case 't':
if (!checkclearop(oap))