aboutsummaryrefslogtreecommitdiffstats
path: root/nt
diff options
context:
space:
mode:
authorGeoff Voelker1995-06-30 21:18:40 +0000
committerGeoff Voelker1995-06-30 21:18:40 +0000
commit88ebdf2999705e2990d35ce9ae54f7bb470ea610 (patch)
tree1669b4d5261daaa08b7d6d993add95eb359ceb8b /nt
parent65b4387d244f69c5119754c81f393068d13a1002 (diff)
downloademacs-88ebdf2999705e2990d35ce9ae54f7bb470ea610.tar.gz
emacs-88ebdf2999705e2990d35ce9ae54f7bb470ea610.zip
Win95 requires carriage returns in batch files.
Diffstat (limited to 'nt')
-rw-r--r--nt/emacs.bat.in76
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
2REM Here begins emacs.bat.in 2REM Here begins emacs.bat.in
3 3
4REM Set OS specific values. 4REM Set OS specific values.
5set ARCH_SAVE=%PROCESSOR_ARCHITECTURE% 5set ARCH_SAVE=%PROCESSOR_ARCHITECTURE%
6set PROCESSOR_ARCHITECTURE= 6set PROCESSOR_ARCHITECTURE=
7if "%ARCH_SAVE%" == "%PROCESSOR_ARCHITECTURE%" goto win95 7if "%ARCH_SAVE%" == "%PROCESSOR_ARCHITECTURE%" goto win95
8set PROCESSOR_ARCHITECTURE=%ARCH_SAVE% 8set PROCESSOR_ARCHITECTURE=%ARCH_SAVE%
9set SHELL=cmd 9set SHELL=cmd
10goto next 10goto next
11 11
12:win95 12:win95
13set SHELL=command 13set SHELL=command
14 14
15:next 15:next
16 16
17set EMACSLOADPATH=%emacs_dir%\lisp 17set EMACSLOADPATH=%emacs_dir%\lisp
18set EMACSDATA=%emacs_dir%\etc 18set EMACSDATA=%emacs_dir%\etc
19set EMACSPATH=%emacs_dir%\bin 19set EMACSPATH=%emacs_dir%\bin
20set EMACSLOCKDIR=%emacs_dir%\lock 20set EMACSLOCKDIR=%emacs_dir%\lock
21set INFOPATH=%emacs_dir%\info 21set INFOPATH=%emacs_dir%\info
22set EMACSDOC=%emacs_dir%\etc 22set EMACSDOC=%emacs_dir%\etc
23set TERM=CMD 23set TERM=CMD
24 24
25REM The variable HOME is used to find the startup file, ~\_emacs. Ideally, 25REM The variable HOME is used to find the startup file, ~\_emacs. Ideally,
26REM this will not be set in this file but should already be set before 26REM this will not be set in this file but should already be set before
27REM this file is invoked. If HOME is not set, use some generic default. 27REM this file is invoked. If HOME is not set, use some generic default.
28 28
29set HOME_SAVE=%HOME% 29set HOME_SAVE=%HOME%
30set HOME_EXISTS=yes 30set HOME_EXISTS=yes
31set HOME_DEFAULT=C:\ 31set HOME_DEFAULT=C:\
32set HOME= 32set HOME=
33if "%HOME%" == "%HOME_SAVE%" set HOME_EXISTS=no 33if "%HOME%" == "%HOME_SAVE%" set HOME_EXISTS=no
34if "%HOME_EXISTS%" == "yes" set HOME=%HOME_SAVE% 34if "%HOME_EXISTS%" == "yes" set HOME=%HOME_SAVE%
35if "%HOME_EXISTS%" == "no" set HOME=%HOME_DEFAULT% 35if "%HOME_EXISTS%" == "no" set HOME=%HOME_DEFAULT%
36if "%HOME_EXISTS%" == "no" echo HOME is not set! Using %HOME% as a default... 36if "%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