Fix inline source blocks

This commit is contained in:
Gerard Vermeulen 2024-03-03 16:09:37 +01:00
parent 2caf949aef
commit 5e135f12db
1 changed files with 7 additions and 6 deletions

View File

@ -376,14 +376,15 @@ The code in listing [[lst:install-selected-packages]] assumes that the package
system is in a *virgin* 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 1. It installs and loads [[https://github.com/emacscollective/no-littering][no-littering]] after ensuring refreshing of the
contents of available packages. contents of available packages.
2. It calls src_emacs-lisp{(package-install-selected-packages)} to check the 2. It calls src_emacs-lisp[:results silent]{(package-install-selected-packages)}
installation status of all packages in to check the installation status of all packages in src_emacs-lisp[:results
src_emacs-lisp{package-selected-packages} and to install the missing packages silent]{package-selected-packages} and to install the missing packages after
after the user has agreed to its prompt. the user has agreed to its prompt.
3. It defines a function to ensure the installation of packages in other source 3. It defines a function to ensure the installation of packages in other source
blocks. blocks.
In case of normal Emacs usage, src_emacs-lisp{(package-list-packages)} refreshes In case of normal Emacs usage, src_emacs-lisp[:results silent]{(list-packages)}
the contents of packages and allows to update packages to the latest version. refreshes the contents of packages and allows to update packages to the latest
version.
#+caption[Install the selected packages]: #+caption[Install the selected packages]:
#+caption: Install the selected packages. #+caption: Install the selected packages.