543 |
"Turn Flyspell mode on. Do not use this; use `flyspell-mode' instead." |
"Turn Flyspell mode on. Do not use this; use `flyspell-mode' instead." |
544 |
(setq ispell-highlight-face 'flyspell-incorrect-face) |
(setq ispell-highlight-face 'flyspell-incorrect-face) |
545 |
;; local dictionaries setup |
;; local dictionaries setup |
546 |
(ispell-change-dictionary |
(or ispell-local-dictionary ispell-dictionary |
547 |
(or ispell-local-dictionary ispell-dictionary flyspell-default-dictionary)) |
(if flyspell-default-dictionary |
548 |
|
(ispell-change-dictionary flyspell-default-dictionary))) |
549 |
;; we have to force ispell to accept the local definition or |
;; we have to force ispell to accept the local definition or |
550 |
;; otherwise it could be too late, the local dictionary may |
;; otherwise it could be too late, the local dictionary may |
551 |
;; be forgotten! |
;; be forgotten! |