]> git.eshelyaron.com Git - emacs.git/commitdiff
(ispell-dictionary-base-alist): Revert to original XEmacs friendly default value.
authorAgustín Martín <agustin.martin@hispalinux.es>
Mon, 16 Apr 2012 17:32:02 +0000 (19:32 +0200)
committerAgustín Martín <agustin.martin@hispalinux.es>
Mon, 16 Apr 2012 17:32:02 +0000 (19:32 +0200)
Having [:alpha:] here is no longer needed. If possible [:alpha:] will be
set in `ispell-set-spellchecker-params' (and will always be for Emacs).

lisp/ChangeLog
lisp/textmodes/ispell.el

index cae46908b0edec9e422ba648e53ceaf830db99e0..a0f42ba6ff78e79e9a7c45d12076610e2e872995 100644 (file)
@@ -2,6 +2,9 @@
 
        * ispell.el (ispell-set-spellchecker-params): Post-process
        `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
+       (ispell-dictionary-base-alist): Revert to original XEmacs
+       friendly version for default.  [:alpha:] will be added in
+       `ispell-set-spellchecker-params' if needed
 
 2012-04-16  Chong Yidong  <cyd@gnu.org>
 
index cfb1a2b360743af6389c9e4ab807c10e02f395cb..538226946984639361c42af5d7e7401885795d5d 100644 (file)
@@ -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