emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r112230: ispell.el (ispell-set-spellc


From: Agustin Martin
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r112230: ispell.el (ispell-set-spellchecker-params): Really set `ispell-args' for all equivs.
Date: Fri, 05 Apr 2013 17:43:07 +0200
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 112230
committer: Agustin Martin <address@hidden>
branch nick: trunk
timestamp: Fri 2013-04-05 17:43:07 +0200
message:
  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.
modified:
  lisp/ChangeLog
  lisp/textmodes/ispell.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-04-05 14:00:08 +0000
+++ b/lisp/ChangeLog    2013-04-05 15:43:07 +0000
@@ -1,3 +1,8 @@
+2013-04-05  Jacek ChrzÄ…szcz  <address@hidden> (tiny change)
+
+       * ispell.el (ispell-set-spellchecker-params):
+       Really set `ispell-args' for all equivs.
+
 2013-04-05  Stefan Monnier  <address@hidden>
 
        * ido.el (ido-completions): Use extra elements of ido-decorations

=== modified file 'lisp/textmodes/ispell.el'
--- a/lisp/textmodes/ispell.el  2013-03-03 06:40:21 +0000
+++ b/lisp/textmodes/ispell.el  2013-04-05 15:43:07 +0000
@@ -1383,7 +1383,8 @@
                ;; 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)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]