diff options
| author | Agustín Martín | 2009-01-20 11:34:39 +0000 |
|---|---|---|
| committer | Agustín Martín | 2009-01-20 11:34:39 +0000 |
| commit | 8e56b4645a44f32653296eba52b9e780f07a0bca (patch) | |
| tree | 0aee88f9207e22ff9c379bfee327aa740eac508a | |
| parent | d35fdb5bb10bdcacb108f8fcd72563e85a24f878 (diff) | |
| download | emacs-8e56b4645a44f32653296eba52b9e780f07a0bca.tar.gz emacs-8e56b4645a44f32653296eba52b9e780f07a0bca.zip | |
(ispell-find-aspell-dictionaries): Use aspell default dict.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/textmodes/ispell.el | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0675327cf1b..6bfeb619482 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2009-01-20 Agustín Martín <agustin.martin@hispalinux.es> | ||
| 2 | |||
| 3 | * textmodes/ispell.el (ispell-find-aspell-dictionaries): Use | ||
| 4 | aspell default dict. | ||
| 5 | |||
| 1 | 2009-01-20 Kenichi Handa <handa@m17n.org> | 6 | 2009-01-20 Kenichi Handa <handa@m17n.org> |
| 2 | 7 | ||
| 3 | * descr-text.el (describe-char): Improve description of eight-bit | 8 | * descr-text.el (describe-char): Improve description of eight-bit |
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 49b6bee1258..21ae997bb52 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el | |||
| @@ -937,10 +937,7 @@ Internal use.") | |||
| 937 | (setq found (nconc found (list dict))))) | 937 | (setq found (nconc found (list dict))))) |
| 938 | (setq ispell-aspell-dictionary-alist found) | 938 | (setq ispell-aspell-dictionary-alist found) |
| 939 | ;; Add a default entry | 939 | ;; Add a default entry |
| 940 | (let* ((english-dict (assoc "en" ispell-aspell-dictionary-alist)) | 940 | (let ((default-dict '(nil "[[:alpha:]]" "[^[:alpha:]]" "[']" nil ("-B") nil utf-8))) |
| 941 | (default-dict | ||
| 942 | (cons nil (or (cdr english-dict) | ||
| 943 | '("[[:alpha:]]" "[^[:alpha:]]" "[']" nil ("-B") nil utf-8))))) | ||
| 944 | (push default-dict ispell-aspell-dictionary-alist)))) | 941 | (push default-dict ispell-aspell-dictionary-alist)))) |
| 945 | 942 | ||
| 946 | (defvar ispell-aspell-data-dir nil | 943 | (defvar ispell-aspell-data-dir nil |