]> git.eshelyaron.com Git - emacs.git/commitdiff
ispell.el (ispell-set-spellchecker-params): Really set `ispell-args' for all equivs.
authorAgustín Martín <agustin.martin@hispalinux.es>
Fri, 5 Apr 2013 15:43:07 +0000 (17:43 +0200)
committerAgustín Martín <agustin.martin@hispalinux.es>
Fri, 5 Apr 2013 15:43:07 +0000 (17:43 +0200)
Was not actually modifying ispell-args for dicts where it was nil before.
Thanks Jacek Chrzaszcz.

lisp/ChangeLog
lisp/textmodes/ispell.el

index eac9a7b0006bb8b83666caa19b25d92586e780f4..701973648c38271c6b6456e274b17ca61c30a209 100644 (file)
@@ -1,3 +1,8 @@
+2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl> (tiny change)
+
+       * ispell.el (ispell-set-spellchecker-params):
+       Really set `ispell-args' for all equivs.
+
 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * ido.el (ido-completions): Use extra elements of ido-decorations
index 467ac004420ab61152ae8e62586153774e9746d5..a56554f5b666d0ab99b71092ebbbada76d02fd36 100644 (file)
@@ -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)