Mercurial > emacs
diff lib-src/rcs-checkin @ 109161:2f63c33b2618
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.
author | Agustin martin <agustin.martin@hispalinux.es> |
---|---|
date | Wed, 07 Jul 2010 12:30:57 +0200 |
parents | 1d1d5d9bd884 |
children | 376148b31b5e |