Mercurial > emacs
comparison nt/emacs.bat.in @ 12181:702f2ac242de
Initial revision
author | Geoff Voelker <voelker@cs.washington.edu> |
---|---|
date | Sat, 10 Jun 1995 02:24:19 +0000 |
parents | |
children | cd1e99d6c95f |
comparison
equal
deleted
inserted
replaced
12180:268be0c80ca2 | 12181:702f2ac242de |
---|---|
1 | |
2 REM Here begins emacs.bat.in | |
3 | |
4 REM Set OS specific values. | |
5 set ARCH_SAVE=%PROCESSOR_ARCHITECTURE% | |
6 set PROCESSOR_ARCHITECTURE= | |
7 if "%ARCH_SAVE%" == "%PROCESSOR_ARCHITECTURE%" goto win95 | |
8 set PROCESSOR_ARCHITECTURE=%ARCH_SAVE% | |
9 set SHELL=cmd | |
10 goto next | |
11 | |
12 :win95 | |
13 set SHELL=command | |
14 | |
15 :next | |
16 | |
17 set EMACSLOADPATH=%emacs_dir%\lisp | |
18 set EMACSDATA=%emacs_dir%\etc | |
19 set EMACSPATH=%emacs_dir%\bin | |
20 set EMACSLOCKDIR=%emacs_dir%\lock | |
21 set INFOPATH=%emacs_dir%\info | |
22 set EMACSDOC=%emacs_dir%\etc | |
23 set TERM=CMD | |
24 | |
25 REM The variable HOME is used to find the startup file, ~\_emacs. Ideally, | |
26 REM this will not be set in this file but should already be set before | |
27 REM this file is invoked. If HOME is not set, use some generic default. | |
28 | |
29 set HOME_SAVE=%HOME% | |
30 set HOME_EXISTS=yes | |
31 set HOME_DEFAULT=C:\ | |
32 set HOME= | |
33 if "%HOME%" == "%HOME_SAVE%" set HOME_EXISTS=no | |
34 if "%HOME_EXISTS%" == "yes" set HOME=%HOME_SAVE% | |
35 if "%HOME_EXISTS%" == "no" set HOME=%HOME_DEFAULT% | |
36 if "%HOME_EXISTS%" == "no" echo HOME is not set! Using %HOME% as a default... | |
37 | |
38 %emacs_dir%\bin\emacs.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 |