Skip to content

Commit

Permalink
fix: use proxies in async update
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed May 16, 2024
1 parent 76cc8b6 commit a20a23e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/me-lib.el
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ Call functions without asking when DONT-ASK-P is non-nil."
(interactive)
(let ((default-directory minemacs-root-dir)
(compilation-buffer-name-function (lambda (_) "" "*minemacs-bump-packages*")))
(compile "make bump")))
(+with-proxies (compile "make bump"))))

(defun minemacs-restore-locked-packages (restore-from-backup)
"Restore lockfile packages list. Takes into account the pinned ones.
Expand Down Expand Up @@ -682,7 +682,7 @@ This calls `minemacs-update-restore-locked' asynchronously."
(let ((default-directory minemacs-root-dir)
(compilation-buffer-name-function (lambda (_) "" "*minemacs-upgrade*"))
(cmd (format "sh -c '%smake locked'" (if pull-minemacs "git pull && " ""))))
(compile cmd)))
(+with-proxies (compile cmd))))

(defun +minemacs-root-dir-cleanup ()
"Cleanup MinEmacs' root directory."
Expand Down

0 comments on commit a20a23e

Please sign in to comment.