Edit the section on the installation of the selected packages
This commit is contained in:
parent
59b74c7d26
commit
26fd987425
25
README.org
25
README.org
@ -256,7 +256,7 @@ the ~custom-file~ as [[info:emacs#Saving Customizations][saving customizations (
|
|||||||
(add-to-list 'initial-frame-alist '(width . 180)))
|
(add-to-list 'initial-frame-alist '(width . 180)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Install the selected packages
|
* [[info:emacs#Package Installation][Install the selected packages (info)]]
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:CUSTOM_ID: sec:install-selected-packages
|
:CUSTOM_ID: sec:install-selected-packages
|
||||||
:END:
|
:END:
|
||||||
@ -267,19 +267,16 @@ archives:
|
|||||||
2. The [[https://elpa.nongnu.org/][NonGNU Emacs Lisp Package Archive]].
|
2. The [[https://elpa.nongnu.org/][NonGNU Emacs Lisp Package Archive]].
|
||||||
3. The [[https://melpa.org/#/][Milkypostman’s Emacs Lisp Package Archive (MELPA)]].
|
3. The [[https://melpa.org/#/][Milkypostman’s Emacs Lisp Package Archive (MELPA)]].
|
||||||
In addition, the [[https://github.com/quelpa/quelpa][quelpa]] tool allows to fetch code from any source and build a
|
In addition, the [[https://github.com/quelpa/quelpa][quelpa]] tool allows to fetch code from any source and build a
|
||||||
package on your computer before installation.
|
package on your computer before installation. The code in listing
|
||||||
|
[[lst:install-selected-packages]] assumes that the package system is in a *virgin*
|
||||||
The code in listing [[lst:install-selected-packages]] assumes that the package
|
state if the package [[https://github.com/emacscollective/no-littering][no-littering]] is not present:
|
||||||
system is in a *virgin* state if the package [[https://github.com/emacscollective/no-littering][no-littering]] is not present.
|
1. It installs and loads [[https://github.com/emacscollective/no-littering][no-littering]] after ensuring refreshing of the
|
||||||
Refreshing the contents of available packages at least once is a requirement in
|
contents of available packages.
|
||||||
order to be able to install and load any packages, hence also [[https://github.com/emacscollective/no-littering][no-littering]].
|
2. It ensures installation of [[https://github.com/quelpa/quelpa][quelpa]] before ensuring installation of [[https://www.reddit.com/r/emacs/comments/l6rcqh/undotree_repositorys_new_home_gitlab/][undo-tree]].
|
||||||
It also ensures installation of [[https://github.com/quelpa/quelpa][quelpa]] before ensuring installation of
|
3. It calls src_emacs-lisp{(package-install-selected-packages)} to check the
|
||||||
[[https://www.reddit.com/r/emacs/comments/l6rcqh/undotree_repositorys_new_home_gitlab/][undo-tree]].
|
installation status of all packages in
|
||||||
|
src_emacs-lisp{package-selected-packages} and to install the missing packages
|
||||||
Finally, the call src_emacs-lisp{(package-install-selected-packages)} checks the
|
after the user has agreed to its prompt.
|
||||||
installation status of all packages in src_emacs-lisp{package-selected-packages}
|
|
||||||
and installs the missing packages after the user has agreed to its prompt.
|
|
||||||
|
|
||||||
In case of normal Emacs usage, src_emacs-lisp{(package-list-packages)} refreshes
|
In case of normal Emacs usage, src_emacs-lisp{(package-list-packages)} refreshes
|
||||||
the contents of packages and allows to update packages to the latest version.
|
the contents of packages and allows to update packages to the latest version.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user