summaryrefslogtreecommitdiff
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorAgustín Martín <agustin.martin@hispalinux.es>2012-04-16 19:32:02 +0200
committerAgustín Martín <agustin.martin@hispalinux.es>2012-04-16 19:32:02 +0200
commit3851314bd40e31c30fdd4ad7ec1dd8ad19c8030e (patch)
treefef07887c1e6a30d56f9a7553b0aa58f16f05e92 /lisp/textmodes
parent4be3075ec8cde1561817ffe9f7a0869841ffe38c (diff)
downloademacs-3851314bd40e31c30fdd4ad7ec1dd8ad19c8030e.tar.gz
(ispell-dictionary-base-alist): Revert to original XEmacs friendly default value.
Having [:alpha:] here is no longer needed. If possible [:alpha:] will be set in `ispell-set-spellchecker-params' (and will always be for Emacs).
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/ispell.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index cfb1a2b3607..53822694698 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -574,12 +574,12 @@ re-start Emacs."
(defvar ispell-dictionary-base-alist
- '((nil
+ '((nil ; default
;; 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)
+ ;; just use a minimal regexp. [:alpha:] will later be set if possible.
+ "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-B") nil iso-8859-1)
("american" ; Yankee English
"[A-Za-z]" "[^A-Za-z]" "[']" nil ("-B") nil iso-8859-1)
("brasileiro" ; Brazilian mode