summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--emacs8
-rw-r--r--emacs.elcbin20080 -> 20278 bytes
2 files changed, 7 insertions, 1 deletions
diff --git a/emacs b/emacs
index d1dc83b..064817a 100644
--- a/emacs
+++ b/emacs
@@ -297,7 +297,10 @@
(if (or (eq major-mode 'c-mode) (eq major-mode 'c++-mode))
(doxymacs-font-lock))))
-;; flyspell
+;; flyspell (with aspell for Unicode)
+(setq ispell-program-name "aspell")
+(setq ispell-extra-args '("--sug-mode=ultra"))
+
(add-hook 'c-mode-hook 'flyspell-prog-mode)
(add-hook 'sh-mode-hook 'flyspell-prog-mode)
(add-hook 'c++-mode-hook 'flyspell-prog-mode)
@@ -347,6 +350,9 @@
(defadvice ispell-word (after advice)
(flyspell-buffer))
(ad-activate 'ispell-word t)
+(defadvice ispell-pdict-save (after advice)
+ (flyspell-buffer))
+(ad-activate 'ispell-pdict-save t)
; byte-compile .emacs
(defun autocompile nil
diff --git a/emacs.elc b/emacs.elc
index 85f6629..7a881f5 100644
--- a/emacs.elc
+++ b/emacs.elc
Binary files differ