diff options
| author | Geoff Voelker | 1995-06-30 21:18:40 +0000 |
|---|---|---|
| committer | Geoff Voelker | 1995-06-30 21:18:40 +0000 |
| commit | 88ebdf2999705e2990d35ce9ae54f7bb470ea610 (patch) | |
| tree | 1669b4d5261daaa08b7d6d993add95eb359ceb8b /nt | |
| parent | 65b4387d244f69c5119754c81f393068d13a1002 (diff) | |
| download | emacs-88ebdf2999705e2990d35ce9ae54f7bb470ea610.tar.gz emacs-88ebdf2999705e2990d35ce9ae54f7bb470ea610.zip | |
Win95 requires carriage returns in batch files.
Diffstat (limited to 'nt')
| -rw-r--r-- | nt/emacs.bat.in | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/nt/emacs.bat.in b/nt/emacs.bat.in index 2894971516d..72304a89367 100644 --- a/nt/emacs.bat.in +++ b/nt/emacs.bat.in | |||
| @@ -1,38 +1,38 @@ | |||
| 1 | 1 | ||
| 2 | REM Here begins emacs.bat.in | 2 | REM Here begins emacs.bat.in |
| 3 | 3 | ||
| 4 | REM Set OS specific values. | 4 | REM Set OS specific values. |
| 5 | set ARCH_SAVE=%PROCESSOR_ARCHITECTURE% | 5 | set ARCH_SAVE=%PROCESSOR_ARCHITECTURE% |
| 6 | set PROCESSOR_ARCHITECTURE= | 6 | set PROCESSOR_ARCHITECTURE= |
| 7 | if "%ARCH_SAVE%" == "%PROCESSOR_ARCHITECTURE%" goto win95 | 7 | if "%ARCH_SAVE%" == "%PROCESSOR_ARCHITECTURE%" goto win95 |
| 8 | set PROCESSOR_ARCHITECTURE=%ARCH_SAVE% | 8 | set PROCESSOR_ARCHITECTURE=%ARCH_SAVE% |
| 9 | set SHELL=cmd | 9 | set SHELL=cmd |
| 10 | goto next | 10 | goto next |
| 11 | 11 | ||
| 12 | :win95 | 12 | :win95 |
| 13 | set SHELL=command | 13 | set SHELL=command |
| 14 | 14 | ||
| 15 | :next | 15 | :next |
| 16 | 16 | ||
| 17 | set EMACSLOADPATH=%emacs_dir%\lisp | 17 | set EMACSLOADPATH=%emacs_dir%\lisp |
| 18 | set EMACSDATA=%emacs_dir%\etc | 18 | set EMACSDATA=%emacs_dir%\etc |
| 19 | set EMACSPATH=%emacs_dir%\bin | 19 | set EMACSPATH=%emacs_dir%\bin |
| 20 | set EMACSLOCKDIR=%emacs_dir%\lock | 20 | set EMACSLOCKDIR=%emacs_dir%\lock |
| 21 | set INFOPATH=%emacs_dir%\info | 21 | set INFOPATH=%emacs_dir%\info |
| 22 | set EMACSDOC=%emacs_dir%\etc | 22 | set EMACSDOC=%emacs_dir%\etc |
| 23 | set TERM=CMD | 23 | set TERM=CMD |
| 24 | 24 | ||
| 25 | REM The variable HOME is used to find the startup file, ~\_emacs. Ideally, | 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 | 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. | 27 | REM this file is invoked. If HOME is not set, use some generic default. |
| 28 | 28 | ||
| 29 | set HOME_SAVE=%HOME% | 29 | set HOME_SAVE=%HOME% |
| 30 | set HOME_EXISTS=yes | 30 | set HOME_EXISTS=yes |
| 31 | set HOME_DEFAULT=C:\ | 31 | set HOME_DEFAULT=C:\ |
| 32 | set HOME= | 32 | set HOME= |
| 33 | if "%HOME%" == "%HOME_SAVE%" set HOME_EXISTS=no | 33 | if "%HOME%" == "%HOME_SAVE%" set HOME_EXISTS=no |
| 34 | if "%HOME_EXISTS%" == "yes" set HOME=%HOME_SAVE% | 34 | if "%HOME_EXISTS%" == "yes" set HOME=%HOME_SAVE% |
| 35 | if "%HOME_EXISTS%" == "no" set HOME=%HOME_DEFAULT% | 35 | if "%HOME_EXISTS%" == "no" set HOME=%HOME_DEFAULT% |
| 36 | if "%HOME_EXISTS%" == "no" echo HOME is not set! Using %HOME% as a default... | 36 | if "%HOME_EXISTS%" == "no" echo HOME is not set! Using %HOME% as a default... |
| 37 | 37 | ||
| 38 | %emacs_dir%\bin\emacs.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 | 38 | %emacs_dir%\bin\emacs.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 |