Skip to content

Instantly share code, notes, and snippets.

@shishi
Created April 11, 2012 07:46
Show Gist options
  • Save shishi/2357675 to your computer and use it in GitHub Desktop.
Save shishi/2357675 to your computer and use it in GitHub Desktop.
a part of my el-get setting
;; el-get
(setq el-get-dir "~/.emacs.d/elisp/el-get/")
;; ;; So the idea is that you copy/paste this code into your *scratch* buffer,
;; ;; hit C-j, and you have a working el-get.
;; ;; (add-to-list 'load-path "~/.emacs.d/el-get/el-get")
;; (unless (require 'el-get nil t)
;; (url-retrieve
;; "https://raw.github.com/dimitri/el-get/master/el-get-install.el"
;; (lambda (s)
;; (end-of-buffer)
;; (eval-print-last-sexp))))
;; ;; So the idea is that you copy/paste this code into your *scratch* buffer,
;; ;; hit C-j, and you have a working developper edition of el-get.
;; (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))))
(require 'el-get)
;; TODO
;; move to rcp
(setq el-get-sources
'(
(:name ruby-mode-trunk-head
:type http
:description "Major mode for editing Ruby files. (trunk-head)"
:url "http://bugs.ruby-lang.org/projects/ruby-trunk/repository/raw/misc/ruby-mode.el")
(:name php-mode-github
:type github
:website "https://github.com/ejmr/php-mode"
:description "Major mode for editing PHP files. (on Github based on SourceForge version))"
:pkgname "ejmr/php-mode")
))
(el-get 'sync)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment