*** empty log message ***
[emacs/old-mirror.git] / nt / emacs.bat.in
blob98ef6728d547f26c71f9f055eb064cd62e0ec8be
2 REM Here begins emacs.bat.in
4 REM Use new proxy shell by default.
5 set SHELL=%emacs_dir%\bin\cmdproxy.exe
7 set EMACSLOADPATH=%emacs_dir%\site-lisp;%emacs_dir%\lisp;%emacs_dir%\leim
8 set EMACSDATA=%emacs_dir%\etc
9 set EMACSPATH=%emacs_dir%\bin
10 set EMACSLOCKDIR=%emacs_dir%\lock
11 REM set INFOPATH=%emacs_dir%\info
12 set EMACSDOC=%emacs_dir%\etc
13 set TERM=CMD
15 REM The variable HOME is used to find the startup file, ~\_emacs. Ideally,
16 REM this will not be set in this file but should already be set before
17 REM this file is invoked. If HOME is not set, use some generic default.
19 set HOME_SAVE=%HOME%
20 set HOME_EXISTS=yes
21 set HOME_DEFAULT=C:\
22 set HOME=
23 if "%HOME%" == "%HOME_SAVE%" set HOME_EXISTS=no
24 if "%HOME_EXISTS%" == "yes" set HOME=%HOME_SAVE%
25 if "%HOME_EXISTS%" == "no" set HOME=%HOME_DEFAULT%
26 if "%HOME_EXISTS%" == "no" echo HOME is not set! Using %HOME% as a default...
28 %emacs_dir%\bin\emacs.exe %1 %2 %3 %4 %5 %6 %7 %8 %9