diff options
author | Agustín Martín <agustin.martin@hispalinux.es> | 2013-04-05 17:43:07 +0200 |
---|---|---|
committer | Agustín Martín <agustin.martin@hispalinux.es> | 2013-04-05 17:43:07 +0200 |
commit | 7e268e9006c32eb1b1330aada4220e1a33859ad8 (patch) | |
tree | f51dd6252bb02825ddd2a510edf153503dcc4983 /lisp/textmodes/ispell.el | |
parent | b7a6f9f7919b7fc0871ae768b58f8e746aa7dd9f (diff) | |
download | emacs-7e268e9006c32eb1b1330aada4220e1a33859ad8.tar.gz |
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.
Diffstat (limited to 'lisp/textmodes/ispell.el')
-rw-r--r-- | lisp/textmodes/ispell.el | 3 |
1 files changed, 2 insertions, 1 deletions
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) |