diff options
Diffstat (limited to '')
-rw-r--r-- | emacs | 8 | ||||
-rw-r--r-- | emacs.elc | bin | 20080 -> 20278 bytes |
2 files changed, 7 insertions, 1 deletions
@@ -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 Binary files differ |