Created
October 31, 2011 09:54
-
-
Save diasjorge/1327206 to your computer and use it in GitHub Desktop.
Bootstrapping el-get + packages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(setq el-get-sources | |
'((:name package-name))) | |
(defun sync-packages () | |
"Synchronize packages" | |
(interactive) | |
(el-get 'sync '(el-get package)) | |
(add-to-list 'package-archives '("tromey" . "http://tromey.com/elpa/")) | |
(add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/")) | |
(setq my-packages (mapcar 'el-get-source-name el-get-sources)) | |
(el-get 'sync my-packages)) | |
(if (require 'el-get nil t) | |
(sync-packages) | |
(url-retrieve | |
"https://raw.github.com/dimitri/el-get/master/el-get-install.el" | |
(lambda (s) | |
(let (el-get-master-branch) | |
(end-of-buffer) | |
(eval-print-last-sexp) | |
(setq el-get-verbose t) | |
(sync-packages))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This does not seem to work anymore (
GNU Emacs 24.3.91.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) of 2014-05-12 on bob.porkrind.org
)(error "El-get can not find a recipe for package \"package-name\"")