2018-05-20 18:21:13 +08:00
|
|
|
:: Forward the ./doom script to Emacs
|
|
|
|
|
|
|
|
@ECHO OFF
|
|
|
|
PUSHD "%~dp0" >NUL
|
|
|
|
|
2018-07-14 06:51:22 +08:00
|
|
|
IF "%1"=="runemacs" (
|
|
|
|
start runemacs --quick --no-splash -l ..\init.el -f "doom|run-all-startup-hooks"
|
2018-05-20 18:21:13 +08:00
|
|
|
) ELSE (
|
2018-07-13 06:13:19 +08:00
|
|
|
emacs --quick --script .\doom -- %*
|
2018-05-20 18:21:13 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
POPD >NUL
|
2018-07-13 06:45:37 +08:00
|
|
|
ECHO ON
|