projects
/
elisp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
40f0fc0
)
Update.
author
Francois Fleuret
<francois@fleuret.org>
Tue, 7 Jan 2014 15:45:54 +0000
(16:45 +0100)
committer
Francois Fleuret
<francois@fleuret.org>
Tue, 7 Jan 2014 15:45:54 +0000
(16:45 +0100)
emacs.el
patch
|
blob
|
history
diff --git
a/emacs.el
b/emacs.el
index
28e5daa
..
d35de82
100644
(file)
--- 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))
;; (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)
;; (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)
(defun ff/pick-dictionnary () (interactive)
(when (and (boundp 'flyspell-mode) flyspell-mode)