]> git.eshelyaron.com Git - emacs.git/commit
* lisp/textmodes/ispell.el: Fix finding dictionaries for Enchant.
authorReuben Thomas <rrt@sc3d.org>
Sun, 27 Jun 2021 21:08:40 +0000 (22:08 +0100)
committerReuben Thomas <rrt@sc3d.org>
Mon, 28 Jun 2021 12:39:50 +0000 (13:39 +0100)
commit7c93009d11fd791f698e5cb7d0d281a82ccbb890
tree73a8b522bee23a2feed8e0762572c71bb084767c
parent881e75873dfb15077413d96c6606bbf042ab0a93
* lisp/textmodes/ispell.el: Fix finding dictionaries for Enchant.

(ispell-find-enchant-dictionaries):

I originally copied this code from the equivalent code for
Aspell. Unfortunately it was wrong for the case of Enchant: it should
find only dictionaries that Enchant knows about, and not merge in
`ispell-dictionary-base-alist' or add a default element, as these
are dealt with in `ispell-set-spellchecker-params'.

This caused a bug where the correct `-d' argument would not be added
to the invocation of enchant, leading to the process not being
correctly started.
lisp/textmodes/ispell.el