emacs/emacs-24.2-hunspell.2.patch

14 lines
563 B
Diff

diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index 2740d9c..e56e576 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -1171,7 +1171,7 @@ aspell is used along with Emacs).")
;; Unless default dict, re-add "-d" option with the mapped value
(if dict-name
(if dict-equiv
- (nconc ispell-args (list "-d" dict-equiv))
+ (setq ispell-args (nconc ispell-args (list "-d" dict-equiv)))
(message
"ispell-set-spellchecker-params: Missing hunspell equiv for \"%s\". Skipping."
dict-name)