summaryrefslogtreecommitdiffstats
path: root/src/ex_docmd.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-11-30 22:48:27 +0100
committerBram Moolenaar <Bram@vim.org>2019-11-30 22:48:27 +0100
commit05ad5ff0ab34ed9a5296dedd420ca81698b8ce22 (patch)
tree7354d352e37ab28988ce26e4f88efd9a9b9f71ec /src/ex_docmd.c
parent0c5c3faef2d54151a8c144539e3e5a3350fb18c7 (diff)
patch 8.1.2371: FEAT_TEXT_PROP is a confusing namev8.1.2371
Problem: FEAT_TEXT_PROP is a confusing name. Solution: Use FEAT_PROP_POPUP. (Naruhiko Nishino, closes #5291)
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r--src/ex_docmd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index ed7512f769..677387f93b 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -368,7 +368,7 @@ static void ex_folddo(exarg_T *eap);
#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_pclose(exarg_T *eap)
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 @@ ex_pedit(exarg_T *eap)
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