* bug#232: flyspell functions don't initialize aspell dicts
@ 2008-05-12 22:27 Nathaniel Cunningham
0 siblings, 0 replies; only message in thread
From: Nathaniel Cunningham @ 2008-05-12 22:27 UTC (permalink / raw)
To: emacs-pretest-bug, Manuel.Serrano
[-- Attachment #1: Type: text/plain, Size: 689 bytes --]
Greetings,
I've found that (flyspell-buffer) doesn't go through the same dictionary
initialization steps as (ispell-buffer). Specifically, the flyspell
functions (flyspell-word) and (flyspell-large-region) don't call
(ispell-maybe-find-aspell-dictionaries), they way (ispell-region) and
(flyspell-mode) do. The result: user's aspell setup (if present) doesn't
get to inform `ispell-dictionary-alist', unless e.g. (ispell-buffer) or
(flyspell-mode) is called first.
I believe simply adding (ispell-maybe-find-aspell-dictionaries) near the top
of `flyspell-word' and `flyspell-large-region' definitions, as it already is
for `flyspell-mode-on', will take care of this.
Cheers,
Nathaniel
[-- Attachment #2: Type: text/html, Size: 759 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-05-12 22:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-12 22:27 bug#232: flyspell functions don't initialize aspell dicts Nathaniel Cunningham
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.