Mercurial > emacs
view nt/emacs.bat.in @ 18416:2ec71bb15f86
Don't require timer; use autoloaded functions from Emacs or XEmacs,
depending on variant.
Do not use defsubst anywhere. Replace with defuns.
(type-break-warning-message-mode): Variable deleted.
(type-break-query-mode): New variable and function.
(type-break-mode): Mention in docstring.
(type-break-run-at-time): New function.
All callers of run-at-time changed.
(type-break-cancel-function-timers): New function.
All callers of cancel-function-timers changed.
(type-break-check-post-command-hook): New function.
(type-break-mode, type-break-schedule, type-break-alarm,
type-break-time-warning-alarm): Call it.
(type-break-mode-line-countdown-or-break): New function.
(type-break): Call it.
(type-break-time-warning-schedule): Put type-break-time-warning
on type-break-post-command-hook.
(type-break-check): Call type-break-mode-line-countdown-or-break.
(type-break-noninteractive-query): New function.
(type-break-force-mode-line-update): New function.
author | Noah Friedman <friedman@splode.com> |
---|---|
date | Mon, 23 Jun 1997 05:28:51 +0000 |
parents | edebdaa8e499 |
children | c687ce4ca98e |
line wrap: on
line source
REM Here begins emacs.bat.in REM Set OS specific values. set ARCH_SAVE=%PROCESSOR_ARCHITECTURE% set PROCESSOR_ARCHITECTURE= if "%ARCH_SAVE%" == "%PROCESSOR_ARCHITECTURE%" goto windows95 set PROCESSOR_ARCHITECTURE=%ARCH_SAVE% set SHELL=cmd goto next :windows95 set SHELL=command :next set EMACSLOADPATH=%emacs_dir%\lisp;%emacs_dir%\site-lisp set EMACSDATA=%emacs_dir%\etc set EMACSPATH=%emacs_dir%\bin set EMACSLOCKDIR=%emacs_dir%\lock set INFOPATH=%emacs_dir%\info set EMACSDOC=%emacs_dir%\etc set TERM=CMD REM The variable HOME is used to find the startup file, ~\_emacs. Ideally, REM this will not be set in this file but should already be set before REM this file is invoked. If HOME is not set, use some generic default. set HOME_SAVE=%HOME% set HOME_EXISTS=yes set HOME_DEFAULT=C:\ set HOME= if "%HOME%" == "%HOME_SAVE%" set HOME_EXISTS=no if "%HOME_EXISTS%" == "yes" set HOME=%HOME_SAVE% if "%HOME_EXISTS%" == "no" set HOME=%HOME_DEFAULT% if "%HOME_EXISTS%" == "no" echo HOME is not set! Using %HOME% as a default... %emacs_dir%\bin\emacs.exe %1 %2 %3 %4 %5 %6 %7 %8 %9