emacs / init.el

Full commit
;;; init.el --- Where all the magic begins
;; This file loads both
;; - Org-mode : and
;; - Org-babel:
;; It then loads the rest of our Emacs initialization from Emacs lisp
;; embedded in literate Org-mode files.

;; Load up Org Mode and Org Babel for elisp embedded in Org Mode files
(setq dotfiles-dir (file-name-directory (or (buffer-file-name) load-file-name)))

(add-to-list 'load-path "/usr/local/share/emacs/site-lisp")
(add-to-list 'load-path dotfiles-dir)
(add-to-list 'load-path (concat dotfiles-dir "/src"))
(add-to-list 'load-path (concat dotfiles-dir "/elpa"))
(add-to-list 'load-path (concat dotfiles-dir "/vendor"))
(progn (cd "~/.emacs.d/src")
(progn (cd "~/.emacs.d/elpa")
(progn (cd "~/.emacs.d/vendor")

(add-to-list 'load-path (expand-file-name
                         "lisp" (expand-file-name
                                 "org" (expand-file-name
										"contrib" (expand-file-name
                                        		  "src" dotfiles-dir)))))

;; Load up Org Mode and Babel
(require 'org-install)

;; load up the main file
(org-babel-load-file (expand-file-name "" dotfiles-dir))