Restore (with tweaks) instal.el and Makefile

Adjusted for new definition of selected packages
This commit is contained in:
Evie Litherland-Smith 2024-08-08 06:35:17 +01:00
parent 7124e154aa
commit 87c4ec61d1
2 changed files with 16 additions and 0 deletions

6
Makefile Normal file
View file

@ -0,0 +1,6 @@
.PHONY: default install
default: install
install:
emacs --script install.el --kill

10
install.el Normal file
View file

@ -0,0 +1,10 @@
;;; install.el -- Handle installing selected packages -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:
;; Configure packages archives with priority
(load-file (locate-user-emacs-file "init.el"))
(package-refresh-contents)
(package-install-selected-packages t)
(package-autoremove)
(provide 'install)
;;; install.el ends here