       ispell-extra-args '("--keyboard=dvorak")
       ido-handle-duplicate-virtual-buffers 2)
 
-
+;; Setup packages
+;; TODO - don't load in emacs 24 from file
 (load-file (expand-file-name "~/.emacs.d/package-23.el"))
 (require 'package)
 

(defvar my-packages '(clojure-mode clojure-test-mode
                      markdown-mode yaml-mode tuareg
                      marmalade oddmuse scpaste))

(dolist (p my-packages)
  (when (not (package-installed-p p))
    (package-install p)))

(require 'cl)

;; Turn off mouse interface early in startup to avoid momentary display
(if (fboundp 'menu-bar-mode) (menu-bar-mode -1))
(if (fboundp 'tool-bar-mode) (tool-bar-mode -1))
(if (fboundp 'scroll-bar-mode) (scroll-bar-mode -1))
(setq inhibit-startup-message t)

(setq browse-url-browser-function 'browse-url-generic
      browse-url-generic-program "conkeror"
      marmalade-server "http://marmalade-repo.org/"
