Mercurial > emacs
diff lisp/textmodes/ispell.el @ 99698:efc1b0dc2c12
(ispell-dictionary-base-alist): Adjust to the
case where the default dictionary is French, Spanish, younameit.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Tue, 18 Nov 2008 21:42:17 +0000 |
parents | 967ef6e9e7a8 |
children | e7cd485b79ff |
line wrap: on
line diff
--- a/lisp/textmodes/ispell.el Tue Nov 18 20:45:21 2008 +0000 +++ b/lisp/textmodes/ispell.el Tue Nov 18 21:42:17 2008 +0000 @@ -506,8 +506,12 @@ (defvar ispell-dictionary-base-alist - '((nil ; default (English.aff) - "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-B") nil iso-8859-1) + '((nil + ;; The default dictionary. It may be English.aff, or any other + ;; dictionary depending on locale and such things. We should probably + ;; ask ispell what dictionary it's using, but until we do that, let's + ;; just use an approximate regexp. + "[[:alpha:]]" "[^[:alpha:]]" "[']" nil ("-B") nil iso-8859-1) ("american" ; Yankee English "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-B") nil iso-8859-1) ("brasileiro" ; Brazilian mode