comparison lisp/textmodes/flyspell.el @ 40933:29830f44be6a

(flyspell-default-dictionary): Allow nil as value, and make nil the default.
author Richard M. Stallman <rms@gnu.org>
date Sun, 11 Nov 2001 20:12:27 +0000
parents a69946fb84de
children 4c041aad3b43
comparison
equal deleted inserted replaced
40932:103ddc9d157a 40933:29830f44be6a
154 incorrect." 154 incorrect."
155 :group 'flyspell 155 :group 'flyspell
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]*\\(\\[[^]]*\\]\\)?{[^{}]*\\)"
171 "A string that is the regular expression that matches TeX commands." 173 "A string that is the regular expression that matches TeX commands."
172 :group 'flyspell 174 :group 'flyspell