standardize emacs cli invocations for consistency

This commit is contained in:
riscy 2023-03-11 11:48:13 -08:00
parent 1cfece8457
commit 72f595e2c8
2 changed files with 2 additions and 2 deletions

View file

@ -30,4 +30,4 @@ ARG PACKAGE_MAIN
ENV PACKAGE_MAIN "${PACKAGE_MAIN}"
WORKDIR $ELISP_PATH
CMD ["emacs", "--script", "melpazoid.el"]
CMD ["emacs", "--quick", "--batch", "--load=melpazoid.el"]

View file

@ -859,7 +859,7 @@ def eval_elisp(script: str) -> str:
file.write(content)
script = f"""(progn (add-to-list 'load-path "{tmpdir}") {script})"""
result = subprocess.run(
['emacs', '--no-init-file', '--batch', '--eval', script],
['emacs', '--quick', '--batch', '--eval', script],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
check=False,