 (use-package haskell-mode
   :config
   (add-hook 'haskell-mode-hook 'interactive-haskell-mode)
-  (setq haskell-process-type 'cabal-repl)
+  (customize-set-variable 'haskell-process-type 'cabal-repl)
   (add-hook 'haskell-mode-hook 'flymake-mode-off) ; This seems to have fixed the flymake issue.
                                                   ; Flycheck seems to handle errors well, and the
                                                   ; cably-repl doesn't seem to be broken.
                                                   ; Not sure what the issue was before.
   (add-hook 'haskell-mode-hook 'turn-on-haskell-doc)
   (add-hook 'haskell-mode-hook 'turn-on-haskell-indent)
-  (setq haskell-interactive-popup-errors nil))
+  (customize-set-variable 'haskell-interactive-popup-errors nil))
 
 ; (load (locate-user-emacs-file "el-get/haskell-mode/haskell-mode.el"))
 ; (load (locate-user-emacs-file "el-get/haskell-mode/haskell-mode-autoloads.el"))


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

  (after "yasnippet-autoloads"
    (add-hook 'prog-mode-hook 'yas-minor-mode)))

    "Return PATH under ORG-DIRECTORY"
    (concat org-directory "/" path))

  (customize-set-variable 'org-agenda-files `(,(org-subdir "todo.org") ,(org-subdir "homework.org")))

  (customize-set-variable 'org-default-notes-file (concat org-directory "/notes.org"))

  (evil-leader/set-key
    "o" evil-leader-org-map))
