From 7e268e9006c32eb1b1330aada4220e1a33859ad8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Agust=C3=ADn=20Mart=C3=ADn?= Date: Fri, 5 Apr 2013 17:43:07 +0200 Subject: [PATCH] ispell.el (ispell-set-spellchecker-params): Really set `ispell-args' for all equivs. Was not actually modifying ispell-args for dicts where it was nil before. Thanks Jacek Chrzaszcz. --- lisp/ChangeLog | 5 +++++ lisp/textmodes/ispell.el | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index eac9a7b0006..701973648c3 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2013-04-05 Jacek Chrząszcz (tiny change) + + * ispell.el (ispell-set-spellchecker-params): + Really set `ispell-args' for all equivs. + 2013-04-05 Stefan Monnier * ido.el (ido-completions): Use extra elements of ido-decorations diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 467ac004420..a56554f5b66 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -1383,7 +1383,8 @@ 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) -- 2.39.2