fix(cli): doomscript: end-of-file error

A regression introduced in bac90c0. The extra --eval isn't necessary in
bin/doomscript because it loads early-init.el (and thus, lisp/doom.el)
sooner than bin/doom does.

Fix: #8362
Amend: def4579a9f
This commit is contained in:
Henrik Lissner
2025-04-15 14:58:40 -04:00
parent 88b6d35082
commit 60bf93eb9a

View File

@ -38,7 +38,7 @@ esac
# directory from `load-path', which would prevent Doom from manually loading the
# site files later. These are important on some systems or deployment methods
# (like Snap or NixOS).
emacs="$EMACS -q --no-site-file --batch --eval \"(setq warning-inhibit-types '((files missing-lexbind-cookie)))\""
emacs="$EMACS -q --no-site-file --batch"
# Doom respects $EMACSDIR to tell it where Doom lives. If it fails, then this is
# either isn't bash, or it's a posix shell being directly sourced with sh, which