diff --git a/advice.el b/advice.el index c2ab043..22ac20f 100644 --- a/advice.el +++ b/advice.el @@ -9,3 +9,8 @@ :around (lambda (orig-print &rest r) (let ((noninteractive nil)) (apply orig-print r)))))) + +(advice-add 'y-or-n-p + :override (lambda (q) + (message "%s \n--> answering NO" q) + nil)) diff --git a/default.nix b/default.nix index 0817cce..bd19ea4 100644 --- a/default.nix +++ b/default.nix @@ -87,9 +87,8 @@ let emacsPackages.overrideScope' overrides; emacsLoadFiles = [ ./advice.el ]; emacsArgs = [ + "--" "install" - "--no-fonts" - "--no-env" ]; # Need to reference a store path here, as byte-compilation will bake-in