From 2286d0a65eb5e93cdf13326de6573342076279fd Mon Sep 17 00:00:00 2001 From: Gerard Vermeulen Date: Tue, 26 Sep 2023 15:06:50 +0200 Subject: [PATCH] Clean up quick start section --- README.org | 27 ++++++++------------------- 1 file changed, 8 insertions(+), 19 deletions(-) diff --git a/README.org b/README.org index bee853b..d06658b 100644 --- a/README.org +++ b/README.org @@ -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