Skip to content

Commit

Permalink
fix: Emacs 26.x
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Nov 21, 2024
1 parent f9a7986 commit c6c974f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lisp/_prepare.el
Original file line number Diff line number Diff line change
Expand Up @@ -569,8 +569,8 @@ scope of the dependencies (it's either `production' or `development')."
(eask-defvc< 27 (eask-pkg-init)) ; XXX: remove this after we drop 26.x
(when eask-depends-on-recipe-p
(eask-log "Installing required external packages...")
(eask-with-archives '("gnu" "melpa")
(eask-package-install 'package-build))
(eask-archive-install-packages '("gnu" "melpa")
'package-build)
(eask-with-progress
"Building temporary archives (this may take a while)... "
(eask-with-verbosity 'debug (github-elpa-build))
Expand Down Expand Up @@ -658,6 +658,7 @@ Argument BODY are forms for execution."

(defun eask-archive-install-packages (archives names)
"Install package NAMES with ARCHIVES setup."
(eask-defvc< 27 (eask-pkg-init)) ; XXX: remove this after we drop 26.x
(when-let* ((names (eask-listify names))
((cl-some (lambda (pkg) (not (package-installed-p pkg))) names)))
(eask-with-archives archives
Expand Down

0 comments on commit c6c974f

Please sign in to comment.