Clean up quick start section

This commit is contained in:
Gerard Vermeulen 2023-09-26 15:06:50 +02:00
parent 82b8fd7111
commit 2286d0a65e
1 changed files with 8 additions and 19 deletions

View File

@ -51,23 +51,12 @@ the section entitled "GNU Free Documentation License".
:CUSTOM_ID: sec:quick-start
:END:
This setup requires at least Emacs-29.1. Backup the =user-emacs-directory=
(defaults often to =~/.emacs.d= on =Linux=, =Unix=, or =Darwin=) and execute the
commands in listing [[lst:prepare-user-emacs-directory-with-https][prepare the =user-emacs-directory= without =ssh= access]] or
in listing [[lst:prepare-user-emacs-directory-with-ssh][prepare the =user-emacs-directory= with =ssh= access]]. After invoking
Emacs interactively (in interactive mode, neither in batch mode, nor in server
mode), Emacs will ask you to install a selected set of packages. Quit Emacs and
invoke Emacs again.
# #+caption[Prepare the user-emacs-directory]:
# #+caption: Clone and initialize the user-emacs-directory.
# #+name: lst:prepare-user-emacs-directory
# #+begin_src shell -n :noeval :tangle no
# cd ~
# git clone ccdr@mercury.grenoble.cnrs.fr:SERVER/emacs.d.git .emacs.d
# make --directory=.emacs.d init
# emacs &
# #+end_src
This setup requires at least Emacs-30. The installation procedure starts with:
1. Backup the =user-emacs-directory= which defaults often to =~/.emacs.d=.
2. Run the listing [[lst:prepare-user-emacs-directory-with-https][prepare the =user-emacs-directory= without =ssh= access]] or
the listing [[lst:prepare-user-emacs-directory-with-ssh][prepare the =user-emacs-directory= with =ssh= access]] commands.
After invoking Emacs interactively, Emacs will ask you to install a selected set
of packages. Quit Emacs and invoke Emacs again.
#+caption[Prepare the user-emacs-directory without =ssh= access]:
#+caption: Clone and initialize the user-emacs-directory without =ssh= access.
@ -236,8 +225,8 @@ recommendation of [[info:emacs#Saving Customizations][saving customizations (inf
(require 'cl-lib)
(when (version< emacs-version "29.1")
(error "This `init.el' requires at least Emacs-29.1"))
(when (< emacs-major-version 30)
(error "This `init.el' requires at least Emacs-30"))
(setopt
after-save-hook #'executable-make-buffer-file-executable-if-script-p