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:
parent
31143f9f9e
commit
a0604e3feb
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ 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 -- %*
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue