diff options
| author | Richard M. Stallman | 2001-11-11 20:12:27 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2001-11-11 20:12:27 +0000 |
| commit | 487301c25e8d0e364b5e2fc89363408fe1028997 (patch) | |
| tree | ade0ff6550b67aca99966bcbdf9fada785104077 | |
| parent | 5a04bfa9849cddb5feb93f4e539b363c50962c24 (diff) | |
| download | emacs-487301c25e8d0e364b5e2fc89363408fe1028997.tar.gz emacs-487301c25e8d0e364b5e2fc89363408fe1028997.zip | |
(flyspell-default-dictionary): Allow nil as value, and make nil the default.
| -rw-r--r-- | lisp/textmodes/flyspell.el | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el index bed5739de3b..f32f7245887 100644 --- a/lisp/textmodes/flyspell.el +++ b/lisp/textmodes/flyspell.el | |||
| @@ -156,15 +156,17 @@ incorrect." | |||
| 156 | :version "21.1" | 156 | :version "21.1" |
| 157 | :type 'hook) | 157 | :type 'hook) |
| 158 | 158 | ||
| 159 | (defcustom flyspell-default-dictionary "american" | 159 | (defcustom flyspell-default-dictionary nil |
| 160 | "A string that is the name of the default dictionary. | 160 | "A string that is the name of the default dictionary. |
| 161 | This is passed to the `ispell-change-dictionary' when flyspell is started. | 161 | This is passed to the `ispell-change-dictionary' when flyspell is started. |
| 162 | If the variables `ispell-local-dictionary' or `ispell-dictionary' are non nil | 162 | If the variable `ispell-local-dictionary' or `ispell-dictionary' is non-nil |
| 163 | when flyspell is started, the value of that variables is used instead | 163 | when flyspell is started, the value of that variable is used instead |
| 164 | of `flyspell-default-dictionary' to select the default dictionary." | 164 | of `flyspell-default-dictionary' to select the default dictionary. |
| 165 | Otherwise, if `flyspell-default-dictionary' is nil, it means to use | ||
| 166 | Ispell's ultimate default dictionary." | ||
| 165 | :group 'flyspell | 167 | :group 'flyspell |
| 166 | :version "21.1" | 168 | :version "21.1" |
| 167 | :type 'string) | 169 | :type '(choice string nil)) |
| 168 | 170 | ||
| 169 | (defcustom flyspell-tex-command-regexp | 171 | (defcustom flyspell-tex-command-regexp |
| 170 | "\\(\\(begin\\|end\\)[ \t]*{\\|\\(cite[a-z*]*\\|label\\|ref\\|eqref\\|usepackage\\|documentclass\\)[ \t]*\\(\\[[^]]*\\]\\)?{[^{}]*\\)" | 172 | "\\(\\(begin\\|end\\)[ \t]*{\\|\\(cite[a-z*]*\\|label\\|ref\\|eqref\\|usepackage\\|documentclass\\)[ \t]*\\(\\[[^]]*\\]\\)?{[^{}]*\\)" |