Mercurial > emacs
changeset 73080:30dd192351cc
* textmodes/ispell.el (ispell-change-dictionary): Don't check the
local dictionary when changing the global dictionary.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sat, 23 Sep 2006 19:05:03 +0000 |
parents | b2a5b94a29c7 |
children | 6953eaae7734 |
files | lisp/ChangeLog lisp/textmodes/ispell.el |
diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Sat Sep 23 18:40:03 2006 +0000 +++ b/lisp/ChangeLog Sat Sep 23 19:05:03 2006 +0000 @@ -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
--- a/lisp/textmodes/ispell.el Sat Sep 23 18:40:03 2006 +0000 +++ b/lisp/textmodes/ispell.el Sat Sep 23 19:05:03 2006 +0000 @@ -2613,8 +2613,9 @@ (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.