mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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
This commit is contained in:
@ -5,7 +5,7 @@ PUSHD "%~dp0" >NUL
|
|||||||
|
|
||||||
IF "%1"=="run" (
|
IF "%1"=="run" (
|
||||||
SHIFT
|
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 (
|
) ELSE (
|
||||||
emacs --quick --script .\doom -- %*
|
emacs --quick --script .\doom -- %*
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user