Commit: patch 9.2.0058: Compile error in did_set_previewpopup()

1 view
Skip to first unread message

Christian Brabandt

unread,
Feb 25, 2026, 3:46:47 PM (7 days ago) Feb 25
to vim...@googlegroups.com
patch 9.2.0058: Compile error in did_set_previewpopup()

Commit: https://github.com/vim/vim/commit/aa18b85df579a3b49f8f037f2eb506645e9aa2dd
Author: John Marriott <basi...@internode.on.net>
Date: Wed Feb 25 20:26:45 2026 +0000

patch 9.2.0058: Compile error in did_set_previewpopup()

Problem: Compile error in did_set_previewpopup() when quickfix
feature is not included (John Marriott, after v9.2.0051)
Solution: Add ifdef FEAT_QUICKFIX (John Marriott)

related: #18873

Signed-off-by: John Marriott <basi...@internode.on.net>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/optionstr.c b/src/optionstr.c
index 3809b594a..7e2ac6567 100644
--- a/src/optionstr.c
+++ b/src/optionstr.c
@@ -3418,7 +3418,9 @@ did_set_previewpopup(optset_T *args UNUSED)
if (parse_previewpopup(NULL) == FAIL)
return e_invalid_argument;

+# if defined(FEAT_QUICKFIX)
popup_close_info();
+# endif
return NULL;
}

diff --git a/src/version.c b/src/version.c
index c78d36663..2f389a74e 100644
--- a/src/version.c
+++ b/src/version.c
@@ -734,6 +734,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 58,
/**/
57,
/**/
Reply all
Reply to author
Forward
0 new messages