 ;; Enable flyspell for text and org
 (dolist (hook '(text-mode-hook))
   (add-hook hook (lambda () (flyspell-mode 1))))
+
 ;; Disable flyspell for major modes: uncomment and add to hook list
 (dolist (hook '(change-log-mode-hook log-edit-mode-hook))
   (add-hook hook (lambda () (flyspell-mode -1))))

;; Don't use tabs
(setq-default indent-tabs-mode nil)
(setq-default tab-width 4)
;; TODO consider if aliasing other tab vars to make this explicit makes sense
;; (defvaralias 'c-basic-offset 'tab-width)
;; (defvaralias 'cperl-indent-level 'tab-width)

;; Spellcheck with aspell instead of ispell
(setq ispell-program-name "aspell")

(add-to-list 'auto-mode-alist '("README\\.md\\'" . gfm-mode))

(custom-set-variables
 '(custom-enabled-themes (quote (tsdh-dark)))
 '(inhibit-startup-screen t)
 '(tool-bar-mode nil))

(custom-set-faces
 '(default ((t (:weight normal :height 140 :width normal :family "Anonymous Pro")))))
