From a0604e3febb453742a9e34ed1e72f104e3066846 Mon Sep 17 00:00:00 2001 From: Josh Seba Date: Thu, 12 Jul 2018 15:45:37 -0700 Subject: [PATCH] Tweak the command used for the "run" argument - Using "start" will allow the batch script to return immediately, rather than waiting for the command to finish. - Using "runemacs" (instead of plain "emacs") will hide the console window that is displayed while Emacs is running --- bin/doom.cmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/doom.cmd b/bin/doom.cmd index 000e811c7..7d9e6179b 100644 --- a/bin/doom.cmd +++ b/bin/doom.cmd @@ -5,10 +5,10 @@ PUSHD "%~dp0" >NUL IF "%1"=="run" ( SHIFT - emacs -Q %* -l ..\init.el -f "doom|run-all-startup-hooks" + start runemacs -Q %* -l ..\init.el -f "doom|run-all-startup-hooks" ) ELSE ( emacs --quick --script .\doom -- %* ) POPD >NUL -ECHO ON \ No newline at end of file +ECHO ON