|
From: | Agustin Martin |
Subject: | bug#15903: 24.3.50; Fix small issue with ispell-hunspell when dictionary is set to default (nil) |
Date: | Sat, 16 Nov 2013 12:43:02 +0100 |
--text follows this line--
Hello,
according to variable 'ispell-dictionary-base-alist' defined in
'ispell.el' if 'ispell-dictionary' is nil then it is considered as
default value for dictionary. Unfortunately, when hunspell is used as
ispell program function 'ispell-parse-hunspell-affix-file' fails because
it doesn't expect nil as argument.
I propose small and simple patch. I checked it starting emacs as:
emacs -Q
and evaluating in *scratch*:
(setq ispell-program-name "hunspell")
(setq ispell-really-hunspell t)
after that I run 'M-$' while point is on first 's' of
(message)
In minibuffer I see
MESSAGE is correct
Without this patch the same steps lead to message
ispell-phaf: No matching entry for nil.
[Prev in Thread] | Current Thread | [Next in Thread] |