emacs.d/init.el: auto-install packages if they're not installed already on startup.
1 files changed, 5 insertions(+), 0 deletions(-) M emacs.d/init.el
M emacs.d/init.el +5 -0
@@ 16,6 16,11 @@ ;; If there is more than one, they won't work right. ) +;; If cache of the contents of the ELPA repo is empty, refresh cache. +(unless package-archive-contents + (package-refresh-contents)) +(package-install-selected-packages) + (load-theme 'atom-one-dark t) (setq inhibit-startup-screen t)