X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=elisp.git;a=blobdiff_plain;f=emacs.el;h=d35de82f7e7a1ee4316a16ffe4cae758dde489e3;hp=28e5daaeef3793ac2fa131984ca76a513609b7d5;hb=cb99dedc7e4826197f38af09a38b9b238f01ff5f;hpb=40f0fc08f83c1749305a2790123ffb8bbc488460 diff --git a/emacs.el b/emacs.el index 28e5daa..d35de82 100644 --- a/emacs.el +++ b/emacs.el @@ -1964,18 +1964,18 @@ a file in /tmp" ;; (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)