dotfiles

🎜 Clone'em, tweak'em, stick'em in your $HOME 🎝
git clone https://git.kevinlegouguec.net/dotfiles
Log | Files | Refs | README

commit e9ce1b5402072017b8243b878e200f053da210d2
parent df9943537d082ecfbca5528be0414167830bc959
Author: KΓ©vin Le Gouguec <kevin.legouguec@gmail.com>
Date:   Wed, 15 May 2024 08:16:50 +0200

Fix ELPA update script

No idea how I managed to commit it in such a non-working state.

Diffstat:
M.local/bin/emacs-update-packages | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/.local/bin/emacs-update-packages b/.local/bin/emacs-update-packages @@ -14,6 +14,7 @@ backup-elpa () # Move directory out of Emacs's sight. We could remove it # altogether since we have the archived snapshot; keep it # around for the very minor convenience gain. + rm -rf elpa.bkp mv -T elpa elpa.bkp ) } @@ -27,12 +28,14 @@ gen-dotemacs () --eval '(pp `(use-package package :custom (package-archives '\''(,@package-archives)) - (package-selected-packages '\''(,@package-selected-packages)))) - '\''external-debugging-output' \ + (package-selected-packages '\''(,@package-selected-packages))) + '\''external-debugging-output)' \ --funcall kill-emacs } +cd ~ + gen-dotemacs > .emacs.upgrade backup-elpa