(ispell-find-aspell-dictionaries): If no English aspell dictionary is
installed, use the first entry of ispell-dictionary-alist-1.
This commit is contained in:
parent
f9fe3e26c0
commit
967a91b21d
1 changed files with 3 additions and 1 deletions
|
@ -913,7 +913,9 @@ and added as a submenu of the \"Edit\" menu.")
|
|||
(ispell-aspell-add-aliases)
|
||||
;; Add a default entry
|
||||
(let* ((english-dict (assoc "en" ispell-dictionary-alist))
|
||||
(default-dict (cons nil (cdr english-dict))))
|
||||
(default-dict
|
||||
(cons nil (or (cdr english-dict)
|
||||
(cdr (car ispell-dictionary-alist-1))))))
|
||||
(push default-dict ispell-dictionary-alist))
|
||||
(setq ispell-have-aspell-dictionaries t)))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue