Skip to content

Commit

Permalink
tweak(bootstrap): do not ask when running build functions
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed May 8, 2023
1 parent ea19fa6 commit 3d390ea
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion core/me-bootstrap.el
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,11 @@
(message "[MinEmacs]: Running additional package-specific build functions")
(dolist (fn minemacs--build-functions)
(message "MinEmacs: Running `%s'" fn)
(funcall fn)))
;; Do not ask before installing
(cl-letf (((symbol-function 'yes-or-no-p) #'always)
((symbol-function 'y-or-n-p) #'always))
(funcall fn))))


(provide 'me-bootstrap)

Expand Down

0 comments on commit 3d390ea

Please sign in to comment.