aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorChong Yidong2006-09-23 19:05:03 +0000
committerChong Yidong2006-09-23 19:05:03 +0000
commite42a01cb9ba61874ee9712e4e59017a949cb6b04 (patch)
treec8fa565fc609abc5a21d39d63f4376fc8b741a33 /lisp/textmodes
parent2b7c81b333e7eb85ff97b33720713ce6998c5196 (diff)
downloademacs-e42a01cb9ba61874ee9712e4e59017a949cb6b04.tar.gz
emacs-e42a01cb9ba61874ee9712e4e59017a949cb6b04.zip
* textmodes/ispell.el (ispell-change-dictionary): Don't check the
local dictionary when changing the global dictionary.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/ispell.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index a0eb147d9c8..2a42a91f7e7 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -2613,8 +2613,9 @@ By just answering RET you can find out what the current dictionary is."
2613 (cond ((equal dict "") 2613 (cond ((equal dict "")
2614 (ispell-internal-change-dictionary) 2614 (ispell-internal-change-dictionary)
2615 (message "Using %s dictionary" 2615 (message "Using %s dictionary"
2616 (or ispell-local-dictionary ispell-dictionary "default"))) 2616 (or (and (not arg) ispell-local-dictionary)
2617 ((equal dict (or ispell-local-dictionary 2617 ispell-dictionary "default")))
2618 ((equal dict (or (and (not arg) ispell-local-dictionary)
2618 ispell-dictionary "default")) 2619 ispell-dictionary "default"))
2619 ;; Specified dictionary is the default already. Could reload 2620 ;; Specified dictionary is the default already. Could reload
2620 ;; the dictionaries if needed. 2621 ;; the dictionaries if needed.