patch 9.2.0058: Compile error in did_set_previewpopup()
Commit:
https://github.com/vim/vim/commit/aa18b85df579a3b49f8f037f2eb506645e9aa2dd
Author: John Marriott <[email protected]>
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 <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
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,
/**/
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1vvLkl-00CxBw-0R%40256bit.org.