]> git.eshelyaron.com Git - emacs.git/commitdiff
* textmodes/ispell.el (ispell-change-dictionary): Don't check the
authorChong Yidong <cyd@stupidchicken.com>
Sat, 23 Sep 2006 19:05:03 +0000 (19:05 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 23 Sep 2006 19:05:03 +0000 (19:05 +0000)
local dictionary when changing the global dictionary.

lisp/ChangeLog
lisp/textmodes/ispell.el

index f279fe624fc069fb6381e53866370ffd92474bd7..8916311cde9bd6ed964d81647a15ecb6f9362c93 100644 (file)
@@ -1,3 +1,8 @@
+2006-09-23  Michal Nazarewicz  <mnazarewicz@gmail.com> (tiny change)
+
+       * textmodes/ispell.el (ispell-change-dictionary): Don't check the
+       local dictionary when changing the global dictionary.
+
 2006-09-23  Ken Manheimer  <ken.manheimer@gmail.com>
 
        * icomplete.el (icomplete-with-completion-tables): List of
index a0eb147d9c86b24a318a9644977d969e0a5dbe75..2a42a91f7e73e8864551281febc17c1326f03e2e 100644 (file)
@@ -2613,8 +2613,9 @@ By just answering RET you can find out what the current dictionary is."
   (cond ((equal dict "")
         (ispell-internal-change-dictionary)
         (message "Using %s dictionary"
-                 (or ispell-local-dictionary ispell-dictionary "default")))
-       ((equal dict (or ispell-local-dictionary
+                 (or (and (not arg) ispell-local-dictionary)
+                     ispell-dictionary "default")))
+       ((equal dict (or (and (not arg) ispell-local-dictionary)
                         ispell-dictionary "default"))
         ;; Specified dictionary is the default already. Could reload
         ;; the dictionaries if needed.