From: Agustín Martín Date: Fri, 5 Apr 2013 15:43:07 +0000 (+0200) Subject: ispell.el (ispell-set-spellchecker-params): Really set `ispell-args' for all equivs. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~2026^2~525 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7e268e9006c32eb1b1330aada4220e1a33859ad8;p=emacs.git 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. --- 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)