execution mode
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2084
35c25a1d-7b9e-4130-9fde-
d3aeb78583b8
#endif
"./");
+ /* If we're in multibuffer mode and file insertion mode, and the
+ * filename is blank, open a new buffer instead of canceling. */
+ if (i == -1 || (i == -2
#ifdef ENABLE_MULTIBUFFER
- /* If we're in multibuffer mode and the filename is blank, open
- * a new buffer instead of canceling. */
- if (i == -1 || (i == -2 && !ISSET(MULTIBUFFER)))
-#else
- if (i < 0)
+ && !ISSET(MULTIBUFFER)
+#endif
+#ifndef NANO_SMALL
+ && !execute
#endif
+ ))
{
statusbar(_("Cancelled"));
break;