Ce serveur Gitlab sera éteint le 30 juin 2020, pensez à migrer vos projets vers les serveurs gitlab-research.centralesupelec.fr et gitlab-student.centralesupelec.fr !

Commit 71c9a8d8 authored by Reuben Thomas's avatar Reuben Thomas

Add instructions on replicating a configuration

Use Dimitri's code from #1548

Also add a note to the `init-` packages section about existing
packages.
parent 6c9a254d
......@@ -105,6 +105,20 @@ Evaluating this code after copying it into your `*scratch*` buffer by typing
script. This script will then use `git` to clone El-Get and install it to
the default location (`~/.emacs.d/el-get/el-get`).
## Replicating a package set on another Emacs installation
In the Emacs whose setup you wish to replicate, type `M-x ielm` for an
Emacs Lisp prompt, and enter:
```lisp
`(setq my-packages
',(mapcar #'el-get-as-symbol
(el-get-list-package-names-with-status "installed")))
```
Copy the result into the new Emacs, in which you should already have
installed El-Get, and evaluate it, followed by `(el-get 'sync my-packages)`
# Setup
## Basic Setup
......@@ -147,6 +161,8 @@ for it, like for example `~/.emacs.d/el-get-init-files/`).
El-Get will then load that file at package initialization time. See the full
*Info* documentation for more details and possibilities.
Many `init-` packages are already available in El-Get.
# Usage
El-Get requires very little interaction with your init file when managing
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment