HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9fe3e2
)
(ispell-find-aspell-dictionaries): If no English aspell dictionary is
author
Eli Zaretskii
<eliz@gnu.org>
Fri, 27 Jan 2006 19:49:14 +0000
(19:49 +0000)
committer
Eli Zaretskii
<eliz@gnu.org>
Fri, 27 Jan 2006 19:49:14 +0000
(19:49 +0000)
installed, use the first entry of ispell-dictionary-alist-1.
lisp/textmodes/ispell.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/textmodes/ispell.el
b/lisp/textmodes/ispell.el
index
5b5e748
..
3bf608c
100644
(file)
--- a/
lisp/textmodes/ispell.el
+++ b/
lisp/textmodes/ispell.el
@@
-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)))