Clean up quick start section
This commit is contained in:
parent
82b8fd7111
commit
2286d0a65e
27
README.org
27
README.org
@ -51,23 +51,12 @@ the section entitled "GNU Free Documentation License".
|
|||||||
:CUSTOM_ID: sec:quick-start
|
:CUSTOM_ID: sec:quick-start
|
||||||
:END:
|
:END:
|
||||||
|
|
||||||
This setup requires at least Emacs-29.1. Backup the =user-emacs-directory=
|
This setup requires at least Emacs-30. The installation procedure starts with:
|
||||||
(defaults often to =~/.emacs.d= on =Linux=, =Unix=, or =Darwin=) and execute the
|
1. Backup the =user-emacs-directory= which defaults often to =~/.emacs.d=.
|
||||||
commands in listing [[lst:prepare-user-emacs-directory-with-https][prepare the =user-emacs-directory= without =ssh= access]] or
|
2. Run the 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
|
the listing [[lst:prepare-user-emacs-directory-with-ssh][prepare the =user-emacs-directory= with =ssh= access]] commands.
|
||||||
Emacs interactively (in interactive mode, neither in batch mode, nor in server
|
After invoking Emacs interactively, Emacs will ask you to install a selected set
|
||||||
mode), Emacs will ask you to install a selected set of packages. Quit Emacs and
|
of packages. Quit Emacs and invoke Emacs again.
|
||||||
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
|
|
||||||
|
|
||||||
#+caption[Prepare the user-emacs-directory without =ssh= access]:
|
#+caption[Prepare the user-emacs-directory without =ssh= access]:
|
||||||
#+caption: Clone and initialize 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)
|
(require 'cl-lib)
|
||||||
|
|
||||||
(when (version< emacs-version "29.1")
|
(when (< emacs-major-version 30)
|
||||||
(error "This `init.el' requires at least Emacs-29.1"))
|
(error "This `init.el' requires at least Emacs-30"))
|
||||||
|
|
||||||
(setopt
|
(setopt
|
||||||
after-save-hook #'executable-make-buffer-file-executable-if-script-p
|
after-save-hook #'executable-make-buffer-file-executable-if-script-p
|
||||||
|
Loading…
Reference in New Issue
Block a user