 ;;; --------------------------------------------------------------------
 ;;; Org Mode
 
-(with-eval-after-load 'org
+(with-eval-after-load "org"
   (setq org-startup-indented t)
   (setq org-directory "~/.org")
 

  (when (interactive-p)
    (message "Buffer saved")))
(global-set-key "\M-W" 'copy-buffer-as-kill)

;;; --------------------------------------------------------------------
;;; Semi-automatic rstripping

(eval-after-load "org-archive"
  '(org-defkey org-mode-map "\C-c\C-x\C-a"
	       'org-archive-subtree-default-with-confirmation))

;;; --------------------------------------------------------------------
;;; Haskell

;; https://github.com/tibbe/haskell-style-guide/blob/master/haskell-style.md#indentation
(with-eval-after-load "haskell-indentation"
  (setq haskell-indentation-layout-offset 2
	haskell-indentation-starter-offset 4
	haskell-indentation-left-offset 4
	haskell-indentation-where-pre-offset 2
	haskell-indentation-where-post-offset 2))

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

;;; Spell check
