(ispell-change-dictionary): Ensure that

aspell dictionaries are initialized when called non-interactively.
This commit is contained in:
Reiner Steib 2007-01-19 17:22:13 +00:00
parent b66f54c140
commit 423cef56c5
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2007-01-19 Reiner Steib <Reiner.Steib@gmx.de>
* textmodes/ispell.el (ispell-change-dictionary): Ensure that
aspell dictionaries are initialized when called non-interactively.
2007-01-19 Chong Yidong <cyd@stupidchicken.com>
* progmodes/compile.el (compilation-loop): New arg limit. Handle

View file

@ -2607,6 +2607,7 @@ By just answering RET you can find out what the current dictionary is."
(mapcar 'list (ispell-valid-dictionary-list)))
nil t)
current-prefix-arg))
(ispell-maybe-find-aspell-dictionaries)
(unless arg (ispell-buffer-local-dict 'no-reload))
(if (equal dict "default") (setq dict nil))
;; This relies on completing-read's bug of returning "" for no match