Problem: :drop command in terminal popup causes problems.
Solution: Check for using a popup window. (closes #6151)
buf_T *buf;
tabpage_T *tp;
+ if (ERROR_IF_POPUP_WINDOW || ERROR_IF_TERM_POPUP_WINDOW)
+ return;
+
/*
* Check if the first argument is already being edited in a window. If
* so, jump to that window.
call assert_fails('call feedkeys("gf", "xt")', 'E863:')
call feedkeys("a\<C-U>", 'xt')
+ " Cannot escape from terminal window
+ call assert_fails('tab drop xxx', 'E863:')
+
" Cannot open a second one.
let termbuf2 = term_start(&shell, #{hidden: 1})
call assert_fails('call popup_create(termbuf2, #{})', 'E861:')
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 834,
/**/
833,
/**/