+2013-05-17 Eli Zaretskii <eliz@gnu.org>
+
+ * runemacs.c (WinMain): Support invocation of un-installed
+ nt/runemacs.exe, by looking for src/emacs.exe.
+
2013-05-16 Eli Zaretskii <eliz@gnu.org>
* inc/stdint.h (SIZE_MAX) [!__GNUC__]: Define. (Bug#14409)
/* Quote executable name in case of spaces in the path. */
*new_cmdline = '"';
strcpy (new_cmdline + 1, modname);
+ /* Detect and handle un-installed runemacs.exe in nt/ subdirectory,
+ while emacs.exe is in src/. */
+ if ((p = strrchr (new_cmdline, '\\')) != NULL
+ && stricmp (p, "\\nt") == 0)
+ strcpy (p, "\\src");
#ifdef CHOOSE_NEWEST_EXE
{