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 0b78a09f authored by Dimitri Fontaine's avatar Dimitri Fontaine

Per issue #122, the lazy installer can now be included verbatim in ones emacs init file.

parent 4156c876
......@@ -17,11 +17,13 @@ Here's the 'lazy installer':
--------------------------------------
;; So the idea is that you copy/paste this code into your *scratch* buffer,
;; hit C-j, and you have a working el-get.
(url-retrieve
"https://github.com/dimitri/el-get/raw/master/el-get-install.el"
(lambda (s)
(end-of-buffer)
(eval-print-last-sexp)))
(if (require 'el-get nil t)
(message "el-get is already installed, try M-x el-get-update")
(url-retrieve
"https://github.com/dimitri/el-get/raw/master/el-get-install.el"
(lambda (s)
(end-of-buffer)
(eval-print-last-sexp))))
--------------------------------------
You have to type +C-j+ with the cursor at the end of the last line, but
......@@ -29,6 +31,9 @@ still on the line. 'C-j runs the command eval-print-last-sexp', so it will
evaluate the code you're looking at, and that will +git clone el-get+ at the
'right place'.
Note that the first line conditional allows you to add this elisp code into
your emacs init file directly.
== What is this?
Of course, my emacs setup is managed in a private git repository. Some
......
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