doomemacs/bin/doom.cmd

14 lines
244 B
Batchfile
Raw Normal View History

:: Forward the ./doom script to Emacs
@ECHO OFF
PUSHD "%~dp0" >NUL
IF "%1"=="runemacs" (
start runemacs --quick --no-splash -l ..\init.el -f "doom|run-all-startup-hooks"
) ELSE (
emacs --quick --script .\doom -- %*
)
POPD >NUL
ECHO ON