Fix hanging in case of no user interface

This commit is contained in:
Gerard Vermeulen 2021-12-07 05:31:52 +01:00
parent 60b197c0b8
commit d261a45c71

View File

@ -263,7 +263,8 @@ list of packages.
(package-install 'no-littering)
(require 'no-littering))
(package-install-selected-packages)
(unless noninteractive
(package-install-selected-packages))
(defun my-install-packages (packages)
"Ensure installation of all packages in PACKAGES."