 ;; Author: Dan Harms <danielrharms@gmail.com>
 ;; Created: Friday, February 27, 2015
 ;; Version: 1.0
-;; Modified Time-stamp: <2016-03-29 22:11:42 dharms>
+;; Modified Time-stamp: <2016-03-30 05:48:14 dharms>
 ;; Modified by: Dan Harms
 ;; Keywords:
 

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; flyspell ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(use-package flyspell
  :if (executable-find "hunspell")
  :demand t
  :init
  (setq ispell-program-name (executable-find "hunspell"))
  (add-hook 'prog-mode-hook #'flyspell-prog-mode)
  :config
  (define-key flyspell-mode-map [?\C-,] nil)
  (define-key flyspell-mode-map [?\C-\;] nil)
  (define-key flyspell-mode-map [?\C-\.] nil)

  ;;        (lambda() (flyspell-mode (if flyspell-mode 0 1))))
  ;; (global-set-key "\C-c\\t" #'my/toggle-flyspell)
  )
(with-eval-after-load 'flyspell
  (require 'flyspell-popup)
  (bind-key "C-c \\\\" 'flyspell-popup-correct flyspell-mode-map))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; headers ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; last modification time
