patch 8.2.2413: crash when using :all while using a cmdline window
Problem: Crash when using :all while using a cmdline window. (Zdenek Dohnal)
Solution: Disallow :all from the cmdline window.
diff --git a/src/arglist.c b/src/arglist.c
index 4e971fd..06d9428 100644
--- a/src/arglist.c
+++ b/src/arglist.c
@@ -884,6 +884,13 @@
win_T *new_curwin = NULL;
tabpage_T *new_curtab = NULL;
+#ifdef FEAT_CMDWIN
+ if (cmdwin_type != 0)
+ {
+ emsg(_(e_cmdwin));
+ return;
+ }
+#endif
if (ARGCOUNT <= 0)
{
// Don't give an error message. We don't want it when the ":all"