Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
require-package will not be added to package-selected-packages after first startup #603
This problem has existed for two years, at least since I started using your configuration (2017).
When the first load is completed, if you call
Thanks, and sorry for my poor English.
See https://github.com/purcell/emacs.d/search?q=package-selected-packages&type=Commits for some context.
It might have been designed to resemble autoremove in apt.
This problem only occurs when the
I have tried some other automatic package installations (including the famous
Also, if you only consider your current configuration structure. Do you think the
Also, what happens when the code is written like this?
(defun require-package (package &optional min-version no-refresh) "Install given PACKAGE, optionally requiring MIN-VERSION. If NO-REFRESH is non-nil, the available package lists will not be re-downloaded in order to locate PACKAGE." (if (package-installed-p package min-version) t (if (or (assoc package package-archive-contents) no-refresh) (package-install package nil) (progn (package-refresh-contents) (require-package package min-version t)))))
The issue is that calling