]>
code.delx.au - gnu-emacs/blob - nt/emacs.bat
3 REM Change this to the directory into which you installed Emacs:
4 set emacs_path
=C
:\emacs
7 REM You shouldn't have to change any of the below.
10 REM Set OS specific values.
11 set ARCH_SAVE
=%PROCESSOR_ARCHITECTURE%
12 set PROCESSOR_ARCHITECTURE
=
13 if "%ARCH_SAVE%" == "%PROCESSOR_ARCHITECTURE%" goto win95
14 set PROCESSOR_ARCHITECTURE
=%ARCH_SAVE%
23 set EMACSLOADPATH
=%emacs_path%\lisp
24 set EMACSDATA
=%emacs_path%\etc
25 set EMACSPATH
=%emacs_path%\bin
26 set EMACSLOCKDIR
=%emacs_path%\lock
27 set INFOPATH
=%emacs_path%\info
28 set EMACSDOC
=%emacs_path%\etc
31 REM The variable HOME is used to find the startup file, ~\_emacs. Ideally,
32 REM this will not be set in this file but should already be set before
33 REM this file is invoked. If HOME is not set, use some generic default.
39 if "%HOME%" == "%HOME_SAVE%" set HOME_EXISTS
=no
40 if "%HOME_EXISTS%" == "yes" set HOME
=%HOME_SAVE%
41 if "%HOME_EXISTS%" == "no" set HOME
=%HOME_DEFAULT%
42 if "%HOME_EXISTS%" == "no" echo HOME is
not set! Using
%HOME% as a default...
44 %emacs_path%\bin\emacs.exe
%1 %2 %3 %4 %5 %6 %7 %8 %9