diff options
author | Reiner Steib <Reiner.Steib@gmx.de> | 2007-01-19 17:22:13 +0000 |
---|---|---|
committer | Reiner Steib <Reiner.Steib@gmx.de> | 2007-01-19 17:22:13 +0000 |
commit | 423cef56c5c2eabac8ee6558641f60465a8cb50b (patch) | |
tree | 158408d3fb44c56e2841ab27c57bec8e529ae4a1 /lisp | |
parent | b66f54c140ca6bb1c5dc4357c5ef3bdc984b80de (diff) | |
download | emacs-423cef56c5c2eabac8ee6558641f60465a8cb50b.tar.gz |
(ispell-change-dictionary): Ensure that
aspell dictionaries are initialized when called non-interactively.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ChangeLog | 5 | ||||
-rw-r--r-- | lisp/textmodes/ispell.el | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3df35d9b6bc..a8cd1686c93 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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 diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 241a6670d2d..26de082eb13 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -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 |