From d894eeea304f8e265deef84ca8e3c80231135069 Mon Sep 17 00:00:00 2001 From: MitchMarq42 Date: Fri, 5 May 2023 10:02:40 -0800 Subject: [PATCH] Upgrade `elpaca` installer --- lisp/elpaca-bootstrap.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/elpaca-bootstrap.el b/lisp/elpaca-bootstrap.el index 92593a1..f1e837d 100644 --- a/lisp/elpaca-bootstrap.el +++ b/lisp/elpaca-bootstrap.el @@ -4,7 +4,7 @@ ;; Taken from https://github.com/progfolio/elpaca ;;; Code: -(defvar elpaca-installer-version 0.3) +(defvar elpaca-installer-version 0.4) (defvar elpaca-directory (expand-file-name "elpaca/" user-emacs-directory)) (defvar elpaca-builds-directory (expand-file-name "builds/" elpaca-directory)) (defvar elpaca-repos-directory (expand-file-name "repos/" elpaca-directory)) @@ -19,6 +19,7 @@ (add-to-list 'load-path (if (file-exists-p build) build repo)) (unless (file-exists-p repo) (make-directory repo t) + (when (< emacs-major-version 28) (require 'subr-x)) (condition-case-unless-debug err (if-let ((buffer (pop-to-buffer-same-window "*elpaca-bootstrap*")) ((zerop (call-process "git" nil buffer t "clone"