aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorReiner Steib2007-01-19 17:22:13 +0000
committerReiner Steib2007-01-19 17:22:13 +0000
commit423cef56c5c2eabac8ee6558641f60465a8cb50b (patch)
tree158408d3fb44c56e2841ab27c57bec8e529ae4a1 /lisp/textmodes
parentb66f54c140ca6bb1c5dc4357c5ef3bdc984b80de (diff)
downloademacs-423cef56c5c2eabac8ee6558641f60465a8cb50b.tar.gz
emacs-423cef56c5c2eabac8ee6558641f60465a8cb50b.zip
(ispell-change-dictionary): Ensure that
aspell dictionaries are initialized when called non-interactively.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/ispell.el1
1 files changed, 1 insertions, 0 deletions
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