mirror of
https://github.com/nix-community/nix-doom-emacs
synced 2025-08-13 13:13:36 -05:00
Forcing no to all questions doom install would ask
Newer doom versions (after 873fc5c0db4876d9e1f347fa6cbd2a3a1933df69) has a rewritten cli interface. I could not figure out how to pass `--no-env` and `--no-fonts` (should check later if it is a bug in doom)
This commit is contained in:
@@ -9,3 +9,8 @@
|
|||||||
:around (lambda (orig-print &rest r)
|
:around (lambda (orig-print &rest r)
|
||||||
(let ((noninteractive nil))
|
(let ((noninteractive nil))
|
||||||
(apply orig-print r))))))
|
(apply orig-print r))))))
|
||||||
|
|
||||||
|
(advice-add 'y-or-n-p
|
||||||
|
:override (lambda (q)
|
||||||
|
(message "%s \n--> answering NO" q)
|
||||||
|
nil))
|
||||||
|
@@ -87,9 +87,8 @@ let
|
|||||||
emacsPackages.overrideScope' overrides;
|
emacsPackages.overrideScope' overrides;
|
||||||
emacsLoadFiles = [ ./advice.el ];
|
emacsLoadFiles = [ ./advice.el ];
|
||||||
emacsArgs = [
|
emacsArgs = [
|
||||||
|
"--"
|
||||||
"install"
|
"install"
|
||||||
"--no-fonts"
|
|
||||||
"--no-env"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# Need to reference a store path here, as byte-compilation will bake-in
|
# Need to reference a store path here, as byte-compilation will bake-in
|
||||||
|
Reference in New Issue
Block a user