diff options
author | Agustín Martín <agustin.martin@hispalinux.es> | 2010-07-07 12:30:57 +0200 |
---|---|---|
committer | Agustín Martín <agustin.martin@hispalinux.es> | 2010-07-07 12:30:57 +0200 |
commit | fd5539c6de4df242b517a73ced2fc1ff1f661227 (patch) | |
tree | 3d6bc36b4b0d96283572ca0389ef76145c61172b /lisp/emacs-lisp/lisp-mnt.el | |
parent | ed3751c8245cbf523caf4975f654d459f070ea9a (diff) | |
download | emacs-fd5539c6de4df242b517a73ced2fc1ff1f661227.tar.gz emacs-fd5539c6de4df242b517a73ced2fc1ff1f661227.tar.bz2 emacs-fd5539c6de4df242b517a73ced2fc1ff1f661227.zip |
Improve ispell.el word completion handling.
* ispell.el (ispell-alternate-dictionary): Use file-readable-p.
Return nil if no word-list is found at default locations.
(ispell-complete-word-dict): Default to nil.
(ispell-command-loop): Use 'word-list' when using lookup-words.
(lookup-words): Use ispell-complete-word-dict or
ispell-alternate-dictionary. Check for word-list availability
and handle errors if needed with better messages (Bug#6539).
(ispell-complete-word): Use ispell-complete-word-dict or
ispell-alternate-dictionary.
Diffstat (limited to 'lisp/emacs-lisp/lisp-mnt.el')
0 files changed, 0 insertions, 0 deletions