 ;-----------------------------------------------------------------------------
 ;; .emacs
 ;;-----------------------------------------------------------------------------
+
+;; Dump custom-set-variables to an external file
+(setq custom-file "~/.emacs.d/custom-file.el")
+(when (file-exists-p custom-file)
+  (load-file custom-file))
 
 ;;-----------------------------------------------------------------------------
 ;; Loading startup files

 ;; If there is more than one, they won't work right.
 '(package-selected-packages
   (quote
    (el-get req-package yaml-mode tabbar session pod-mode muttrc-mode mutt-alias markdown-mode irony initsplit htmlize graphviz-dot-mode folding flycheck eproject diminish csv-mode company browse-kill-ring boxquote bm bar-cursor apache-mode srefactor))))

2. Remove this warning from your init file so you won't see it again."))
  ;; Comment/uncomment these two lines to enable/disable MELPA and MELPA Stable as desired
  (add-to-list 'package-archives (cons "melpa" (concat proto "://melpa.org/packages/")) t)
  (add-to-list 'package-archives (cons "gnu" (concat proto "://elpa.gnu.org/packages/")) t))
  ;(add-to-list 'package-archives (cons "gnu" (concat "http" "://elpa.gnu.org/packages/")) t))

(package-initialize)

;;-----------------------------------------------------------------------------
