diff options
| author | Chong Yidong <cyd@stupidchicken.com> | 2006-09-23 19:05:03 +0000 |
|---|---|---|
| committer | Chong Yidong <cyd@stupidchicken.com> | 2006-09-23 19:05:03 +0000 |
| commit | e42a01cb9ba61874ee9712e4e59017a949cb6b04 (patch) | |
| tree | c8fa565fc609abc5a21d39d63f4376fc8b741a33 /lisp | |
| parent | 2b7c81b333e7eb85ff97b33720713ce6998c5196 (diff) | |
| download | emacs-e42a01cb9ba61874ee9712e4e59017a949cb6b04.tar.gz | |
* textmodes/ispell.el (ispell-change-dictionary): Don't check the
local dictionary when changing the global dictionary.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/textmodes/ispell.el | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f279fe624fc..8916311cde9 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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 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." (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. |
