Mercurial > emacs
comparison lisp/textmodes/flyspell.el @ 65835:d2f4d7bfbaef
(flyspell-mode-on): Call ispell-maybe-find-aspell-dictionaries.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 04 Oct 2005 20:29:00 +0000 |
parents | f621d74f5b9a |
children | 2fb78041ad35 aa89c814f853 |
comparison
equal
deleted
inserted
replaced
65834:153b746cc2d0 | 65835:d2f4d7bfbaef |
---|---|
534 ;*---------------------------------------------------------------------*/ | 534 ;*---------------------------------------------------------------------*/ |
535 ;* flyspell-mode-on ... */ | 535 ;* flyspell-mode-on ... */ |
536 ;*---------------------------------------------------------------------*/ | 536 ;*---------------------------------------------------------------------*/ |
537 (defun flyspell-mode-on () | 537 (defun flyspell-mode-on () |
538 "Turn Flyspell mode on. Do not use this; use `flyspell-mode' instead." | 538 "Turn Flyspell mode on. Do not use this; use `flyspell-mode' instead." |
539 (ispell-maybe-find-aspell-dictionaries) | |
539 (setq ispell-highlight-face 'flyspell-incorrect) | 540 (setq ispell-highlight-face 'flyspell-incorrect) |
540 ;; local dictionaries setup | 541 ;; local dictionaries setup |
541 (or ispell-local-dictionary ispell-dictionary | 542 (or ispell-local-dictionary ispell-dictionary |
542 (if flyspell-default-dictionary | 543 (if flyspell-default-dictionary |
543 (ispell-change-dictionary flyspell-default-dictionary))) | 544 (ispell-change-dictionary flyspell-default-dictionary))) |