aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReiner Steib2007-01-19 17:22:13 +0000
committerReiner Steib2007-01-19 17:22:13 +0000
commit423cef56c5c2eabac8ee6558641f60465a8cb50b (patch)
tree158408d3fb44c56e2841ab27c57bec8e529ae4a1
parentb66f54c140ca6bb1c5dc4357c5ef3bdc984b80de (diff)
downloademacs-423cef56c5c2eabac8ee6558641f60465a8cb50b.tar.gz
emacs-423cef56c5c2eabac8ee6558641f60465a8cb50b.zip
(ispell-change-dictionary): Ensure that
aspell dictionaries are initialized when called non-interactively.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/textmodes/ispell.el1
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 @@
12007-01-19 Reiner Steib <Reiner.Steib@gmx.de>
2
3 * textmodes/ispell.el (ispell-change-dictionary): Ensure that
4 aspell dictionaries are initialized when called non-interactively.
5
12007-01-19 Chong Yidong <cyd@stupidchicken.com> 62007-01-19 Chong Yidong <cyd@stupidchicken.com>
2 7
3 * progmodes/compile.el (compilation-loop): New arg limit. Handle 8 * 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."
2607 (mapcar 'list (ispell-valid-dictionary-list))) 2607 (mapcar 'list (ispell-valid-dictionary-list)))
2608 nil t) 2608 nil t)
2609 current-prefix-arg)) 2609 current-prefix-arg))
2610 (ispell-maybe-find-aspell-dictionaries)
2610 (unless arg (ispell-buffer-local-dict 'no-reload)) 2611 (unless arg (ispell-buffer-local-dict 'no-reload))
2611 (if (equal dict "default") (setq dict nil)) 2612 (if (equal dict "default") (setq dict nil))
2612 ;; This relies on completing-read's bug of returning "" for no match 2613 ;; This relies on completing-read's bug of returning "" for no match