patch 8.1.2371: FEAT_TEXT_PROP is a confusing name
Problem: FEAT_TEXT_PROP is a confusing name.
Solution: Use FEAT_PROP_POPUP. (Naruhiko Nishino, closes #5291)
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index ed7512f..677387f 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -368,7 +368,7 @@
#if !defined(FEAT_X11) || !defined(FEAT_XCLIPBOARD)
# define ex_xrestore ex_ni
#endif
-#if !defined(FEAT_TEXT_PROP)
+#if !defined(FEAT_PROP_POPUP)
# define ex_popupclear ex_ni
#endif
@@ -5013,7 +5013,7 @@
ex_win_close(eap->forceit, win, NULL);
return;
}
-# ifdef FEAT_TEXT_PROP
+# ifdef FEAT_PROP_POPUP
// Also when 'previewpopup' is empty, it might have been cleared.
popup_close_preview();
# endif
@@ -7812,7 +7812,7 @@
redraw_later(VALID);
win_enter(curwin_save, TRUE);
}
-# ifdef FEAT_TEXT_PROP
+# ifdef FEAT_PROP_POPUP
else if (WIN_IS_POPUP(curwin))
{
// can't keep focus in popup window