 ;               (modes quote (haskell-mode literate-haskell-mode))))
 
 
-(defmacro after (mode &rest body)
-  (declare (indent defun))
-  `(eval-after-load ,mode
-     '(progn ,@body)))
-
 ;; YASnippet
 (add-to-list 'load-path (locate-user-emacs-file "el-get/el-get/yasnippet"))
 (require 'yasnippet)

          (lambda ()
            (yas-activate-extra-mode 'fundamental-mode)))

(after 'yasnippet
       (yas/reload-all)
       (setq yas/prompt-functions '(yas/ido-prompt yas/completing-prompt yas/no-prompt)))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(defun el-dir (&optional path)
  "Return the user's `el-get' directory with PATH optionally appended."
  (concat el-get-dir "/" path))

;; Color theme
(load-theme 'solarized-dark t)
