summaryrefslogtreecommitdiff
path: root/src/ex_docmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r--src/ex_docmd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index f2fb64698..58ea7c863 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -7886,6 +7886,9 @@ ex_pedit(exarg_T *eap)
{
win_T *curwin_save = curwin;
+ if (ERROR_IF_ANY_POPUP_WINDOW)
+ return;
+
// Open the preview window or popup and make it the current window.
g_do_tagpreview = p_pvh;
prepare_tagpreview(TRUE, TRUE, FALSE);