Fix copy/paste error.
[emacs.git] / nt / debug.bat.in
bloba047640027a49a8ee83d5953690ace5a447d51c7
2 REM Here begins debug.bat.in
4 REM Set OS specific values.
5 REM none needed
7 REM Use new proxy shell by default.
8 set SHELL=%emacs_dir%\bin\cmdproxy.exe
10 set EMACSLOADPATH=%emacs_dir%\site-lisp;%emacs_dir%\lisp
11 set EMACSDATA=%emacs_dir%\etc
12 set EMACSPATH=%emacs_dir%\bin
13 set EMACSLOCKDIR=%emacs_dir%\lock
14 set INFOPATH=%emacs_dir%\info
15 set EMACSDOC=%emacs_dir%\etc
16 set TERM=CMD
18 REM The variable HOME is used to find the startup file, ~\_emacs. Ideally,
19 REM this will not be set in this file but should already be set before
20 REM this file is invoked. If HOME is not set, use some generic default.
22 set HOME_SAVE=%HOME%
23 set HOME_EXISTS=yes
24 set HOME_DEFAULT=C:\
25 set HOME=
26 if "%HOME%" == "%HOME_SAVE%" set HOME_EXISTS=no
27 if "%HOME_EXISTS%" == "yes" set HOME=%HOME_SAVE%
28 if "%HOME_EXISTS%" == "no" set HOME=%HOME_DEFAULT%
29 if "%HOME_EXISTS%" == "no" echo HOME is not set! Using %HOME% as a default...
31 start msdev -nologo %emacs_dir%\bin\emacs.exe %1 %2 %3 %4 %5 %6 %7 %8 %9