diff options
author | Eli Zaretskii <eliz@gnu.org> | 2012-03-17 11:13:19 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2012-03-17 11:13:19 +0200 |
commit | 9ac7a13f088b3efd9242622a3fda55e0616e4a8f (patch) | |
tree | db0af77545f0913169ad28c2f5d226e3fa1b141c /lisp/textmodes/ispell.el | |
parent | 66ecdc9e08549b2b978c619ad697da45e048aa54 (diff) | |
download | emacs-9ac7a13f088b3efd9242622a3fda55e0616e4a8f.tar.gz |
Improve error message in ispell-get-decoded-string.
lisp/textmodes/ispell.el (ispell-get-decoded-string): Make the error
message mention the alists that need to be fixed.
Diffstat (limited to 'lisp/textmodes/ispell.el')
-rw-r--r-- | lisp/textmodes/ispell.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index c1fcb6013b2..bee903f0284 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -1307,7 +1307,8 @@ Protects against bogus binding of `enable-multibyte-characters' in XEmacs." (let* ((slot (or (assoc ispell-current-dictionary ispell-local-dictionary-alist) (assoc ispell-current-dictionary ispell-dictionary-alist) - (error "No match for the current dictionary"))) + (error "No data for dictionary \"%s\", neither in `ispell-local-dictionary-alist' nor in `ispell-dictionary-alist'" + ispell-current-dictionary))) (str (nth n slot))) (when (and (> (length str) 0) (not (multibyte-string-p str))) |