Upgrade elpaca
installer
This commit is contained in:
parent
7d0b36fc3f
commit
d894eeea30
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user