Compare commits

..

No commits in common. "81332667340a81ead7e1b68327e2721923b72b71" and "9417dcf830d7c246b6a3955aaaf9f308cad0830c" have entirely different histories.

2 changed files with 12 additions and 18 deletions

View File

@ -20,12 +20,12 @@
)) ))
;; Instalar elpaca.el (reemplpazando package.el) ;; Instalar elpaca.el (reemplpazando package.el)
(defvar elpaca-installer-version 0.8) (defvar elpaca-installer-version 0.7)
(defvar elpaca-directory (expand-file-name "elpaca/" user-emacs-directory)) (defvar elpaca-directory (expand-file-name "elpaca/" user-emacs-directory))
(defvar elpaca-builds-directory (expand-file-name "builds/" elpaca-directory)) (defvar elpaca-builds-directory (expand-file-name "builds/" elpaca-directory))
(defvar elpaca-repos-directory (expand-file-name "repos/" elpaca-directory)) (defvar elpaca-repos-directory (expand-file-name "repos/" elpaca-directory))
(defvar elpaca-order '(elpaca :repo "https://github.com/progfolio/elpaca.git" (defvar elpaca-order '(elpaca :repo "https://github.com/progfolio/elpaca.git"
:ref nil :depth 1 :ref nil
:files (:defaults "elpaca-test.el" (:exclude "extensions")) :files (:defaults "elpaca-test.el" (:exclude "extensions"))
:build (:not elpaca--activate-package))) :build (:not elpaca--activate-package)))
(let* ((repo (expand-file-name "elpaca/" elpaca-repos-directory)) (let* ((repo (expand-file-name "elpaca/" elpaca-repos-directory))
@ -37,11 +37,9 @@
(make-directory repo t) (make-directory repo t)
(when (< emacs-major-version 28) (require 'subr-x)) (when (< emacs-major-version 28) (require 'subr-x))
(condition-case-unless-debug err (condition-case-unless-debug err
(if-let* ((buffer (pop-to-buffer-same-window "*elpaca-bootstrap*")) (if-let ((buffer (pop-to-buffer-same-window "*elpaca-bootstrap*"))
((zerop (apply #'call-process `("git" nil ,buffer t "clone" ((zerop (call-process "git" nil buffer t "clone"
,@(when-let* ((depth (plist-get order :depth))) (plist-get order :repo) repo)))
(list (format "--depth=%d" depth) "--no-single-branch"))
,(plist-get order :repo) ,repo))))
((zerop (call-process "git" nil buffer t "checkout" ((zerop (call-process "git" nil buffer t "checkout"
(or (plist-get order :ref) "--")))) (or (plist-get order :ref) "--"))))
(emacs (concat invocation-directory invocation-name)) (emacs (concat invocation-directory invocation-name))

View File

@ -99,10 +99,6 @@ _p_rev _u_pper _=_: upper/lower _r_esolve
("q" nil "cancel" :color blue)) ("q" nil "cancel" :color blue))
) )
(use-package transient
:defer t
:ensure t)
;; Mostrar el último commit que modificó la linea actual ;; Mostrar el último commit que modificó la linea actual
(use-package vc-msg (use-package vc-msg
:defer t :defer t