summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.local/bin/emacs-update-packages7
1 files changed, 5 insertions, 2 deletions
diff --git a/.local/bin/emacs-update-packages b/.local/bin/emacs-update-packages
index 8ad22d2..28d231d 100755
--- 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