diff options
| author | Eli Zaretskii | 2006-01-27 19:49:14 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2006-01-27 19:49:14 +0000 |
| commit | 967a91b21d9a27126d6c3b045dccf574d2b38f80 (patch) | |
| tree | 30acf5237806a3d6bbf6b86929f2e8dbbfd00c7e /lisp | |
| parent | f9fe3e26c043fed0005e227efffe5b4eb195911a (diff) | |
| download | emacs-967a91b21d9a27126d6c3b045dccf574d2b38f80.tar.gz emacs-967a91b21d9a27126d6c3b045dccf574d2b38f80.zip | |
(ispell-find-aspell-dictionaries): If no English aspell dictionary is
installed, use the first entry of ispell-dictionary-alist-1.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/textmodes/ispell.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 5b5e748af74..3bf608c2cc0 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el | |||
| @@ -913,7 +913,9 @@ and added as a submenu of the \"Edit\" menu.") | |||
| 913 | (ispell-aspell-add-aliases) | 913 | (ispell-aspell-add-aliases) |
| 914 | ;; Add a default entry | 914 | ;; Add a default entry |
| 915 | (let* ((english-dict (assoc "en" ispell-dictionary-alist)) | 915 | (let* ((english-dict (assoc "en" ispell-dictionary-alist)) |
| 916 | (default-dict (cons nil (cdr english-dict)))) | 916 | (default-dict |
| 917 | (cons nil (or (cdr english-dict) | ||
| 918 | (cdr (car ispell-dictionary-alist-1)))))) | ||
| 917 | (push default-dict ispell-dictionary-alist)) | 919 | (push default-dict ispell-dictionary-alist)) |
| 918 | (setq ispell-have-aspell-dictionaries t))) | 920 | (setq ispell-have-aspell-dictionaries t))) |
| 919 | 921 | ||