Open nschum opened 11 years ago
Seconded. This is particularly annoying when someone chose a dictionary with adict-change-dictionary
, disable the spell-checking, and reactivate it. The manually defined dictionary is overwritten by a guessed one.
As we have this problem in Spacemacs, we use this workaround in the meantime:
(add-hook 'auto-dictionary-mode-hook
(lambda ()
(when (and
(fboundp 'adict-change-dictionary)
ispell-local-dictionary)
(adict-change-dictionary ispell-local-dictionary))) 'append)
PRs welcome :)
auto-dictionary-mode should respect dictionaries set via file-local variables, i.e.
ispell-local-dictionary
.