diff options
| author | Stefan Monnier | 2008-11-18 21:42:17 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2008-11-18 21:42:17 +0000 |
| commit | a1e34e711defe77e4cc9ae5f01addc3880d30ac1 (patch) | |
| tree | 313b228ca8ee446da3d4a18f1b736313bf6c2efa | |
| parent | 064e57de239f3c3d03a035a9f56c71037715b40e (diff) | |
| download | emacs-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/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/textmodes/ispell.el | 8 |
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 @@ | |||
| 1 | 2008-11-18 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2008-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 |