Modules refactor

This commit is contained in:
Roey Darwish Dror
2018-12-15 21:52:21 +02:00
parent 66c6338b42
commit 47a271af47
14 changed files with 63 additions and 61 deletions

14
src/steps/emacs.el Normal file
View File

@@ -0,0 +1,14 @@
(if (fboundp 'paradox-upgrade-packages)
(progn
(paradox-upgrade-packages)
(princ
(if (get-buffer "*Paradox Report*")
(with-current-buffer "*Paradox Report*" (buffer-string))
"\nNothing to upgrade\n")))
(progn
(let ((package-menu-async nil))
(package-list-packages))
(package-menu-mark-upgrades)
(condition-case nil
(package-menu-execute 'noquery)
(user-error nil))))