;; (when (ff/load-or-alert "flyspell-timer" t)
;; (add-hook 'flyspell-mode-hook 'flyspell-timer-ensure-idle-timer))
-;; (defun ff/start-flyspell () (interactive)
- ;; (ff/configure-faces
- ;; '(
- ;; ;; (flyspell-incorrect :background "#ff0000" :foreground "black")
- ;; ;; (flyspell-duplicate :background "#ff9000" :foreground "black")
- ;; (flyspell-incorrect :foreground "#ff0000" :weight 'bold)
- ;; (flyspell-duplicate :foreground "#ff9000" :weight 'bold)
- ;; ))
+(defun ff/start-flyspell () (interactive)
+ (ff/configure-faces
+ '(
+ ;; (flyspell-incorrect :background "#ff0000" :foreground "black")
+ ;; (flyspell-duplicate :background "#ff9000" :foreground "black")
+ (flyspell-incorrect :foreground "#ff0000" :weight 'bold)
+ (flyspell-duplicate :foreground "#ff9000" :weight 'bold)
+ ))
;; (flyspell-buffer)
- ;; )
+ )
-;; (add-hook 'flyspell-mode-hook 'ff/start-flyspell)
+(add-hook 'flyspell-mode-hook 'ff/start-flyspell)
(defun ff/pick-dictionnary () (interactive)
(when (and (boundp 'flyspell-mode) flyspell-mode)