aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2008-11-18 21:42:17 +0000
committerStefan Monnier2008-11-18 21:42:17 +0000
commita1e34e711defe77e4cc9ae5f01addc3880d30ac1 (patch)
tree313b228ca8ee446da3d4a18f1b736313bf6c2efa
parent064e57de239f3c3d03a035a9f56c71037715b40e (diff)
downloademacs-a1e34e711defe77e4cc9ae5f01addc3880d30ac1.tar.gz
emacs-a1e34e711defe77e4cc9ae5f01addc3880d30ac1.zip
(ispell-dictionary-base-alist): Adjust to the
case where the default dictionary is French, Spanish, younameit.
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/textmodes/ispell.el8
2 files changed, 9 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 44592db06ac..6b4cbf0e11c 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12008-11-18 Stefan Monnier <monnier@iro.umontreal.ca> 12008-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2 2
3 * textmodes/ispell.el (ispell-dictionary-base-alist): Adjust to the
4 case where the default dictionary is French, Spanish, younameit.
5
3 * window.el (window--frame-usable-p): Consider dedicated windows as usable. 6 * window.el (window--frame-usable-p): Consider dedicated windows as usable.
4 7
5 * files.el (confirm-nonexistent-file-or-buffer): 8 * files.el (confirm-nonexistent-file-or-buffer):
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index ff5cb5ec0c9..7ccaba73d72 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -506,8 +506,12 @@ re-start Emacs."
506 506
507 507
508(defvar ispell-dictionary-base-alist 508(defvar ispell-dictionary-base-alist
509 '((nil ; default (English.aff) 509 '((nil
510 "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-B") nil iso-8859-1) 510 ;; The default dictionary. It may be English.aff, or any other
511 ;; dictionary depending on locale and such things. We should probably
512 ;; ask ispell what dictionary it's using, but until we do that, let's
513 ;; just use an approximate regexp.
514 "[[:alpha:]]" "[^[:alpha:]]" "[']" nil ("-B") nil iso-8859-1)
511 ("american" ; Yankee English 515 ("american" ; Yankee English
512 "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-B") nil iso-8859-1) 516 "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-B") nil iso-8859-1)
513 ("brasileiro" ; Brazilian mode 517 ("brasileiro" ; Brazilian mode