1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 12:21:25 -08:00

* textmodes/ispell.el (ispell-change-dictionary): Don't check the

local dictionary when changing the global dictionary.
This commit is contained in:
Chong Yidong 2006-09-23 19:05:03 +00:00
parent 2b7c81b333
commit e42a01cb9b
2 changed files with 8 additions and 2 deletions

View 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

View 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.