annotate nt/debug.bat.in @ 29607:42d156d8d8eb

(insert-image): Save a little consing.
author Dave Love <fx@gnu.org>
date Mon, 12 Jun 2000 20:34:36 +0000
parents 8bd07c31e8bf
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19866
fedcb4117e34 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1
19868
8bd07c31e8bf Fix typo.
Geoff Voelker <voelker@cs.washington.edu>
parents: 19866
diff changeset
2 REM Here begins debug.bat.in
19866
fedcb4117e34 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
3
fedcb4117e34 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
4 REM Set OS specific values.
fedcb4117e34 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
5 REM none needed
fedcb4117e34 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
6
fedcb4117e34 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
7 REM Use new proxy shell by default.
fedcb4117e34 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
8 set SHELL=%emacs_dir%\bin\cmdproxy.exe
fedcb4117e34 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
9
fedcb4117e34 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
10 set EMACSLOADPATH=%emacs_dir%\site-lisp;%emacs_dir%\lisp
fedcb4117e34 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
11 set EMACSDATA=%emacs_dir%\etc
fedcb4117e34 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
12 set EMACSPATH=%emacs_dir%\bin
fedcb4117e34 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
13 set EMACSLOCKDIR=%emacs_dir%\lock
fedcb4117e34 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
14 set INFOPATH=%emacs_dir%\info
fedcb4117e34 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
15 set EMACSDOC=%emacs_dir%\etc
fedcb4117e34 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
16 set TERM=CMD
fedcb4117e34 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
17
fedcb4117e34 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
18 REM The variable HOME is used to find the startup file, ~\_emacs. Ideally,
fedcb4117e34 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
19 REM this will not be set in this file but should already be set before
fedcb4117e34 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
20 REM this file is invoked. If HOME is not set, use some generic default.
fedcb4117e34 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
21
fedcb4117e34 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
22 set HOME_SAVE=%HOME%
fedcb4117e34 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
23 set HOME_EXISTS=yes
fedcb4117e34 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
24 set HOME_DEFAULT=C:\
fedcb4117e34 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
25 set HOME=
fedcb4117e34 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
26 if "%HOME%" == "%HOME_SAVE%" set HOME_EXISTS=no
fedcb4117e34 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
27 if "%HOME_EXISTS%" == "yes" set HOME=%HOME_SAVE%
fedcb4117e34 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
28 if "%HOME_EXISTS%" == "no" set HOME=%HOME_DEFAULT%
fedcb4117e34 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
29 if "%HOME_EXISTS%" == "no" echo HOME is not set! Using %HOME% as a default...
fedcb4117e34 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
30
fedcb4117e34 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
31 start msdev -nologo %emacs_dir%\bin\emacs.exe %1 %2 %3 %4 %5 %6 %7 %8 %9