# HG changeset patch # User Richard M. Stallman # Date 1005509547 0 # Node ID 29830f44be6add35be95c286eb7d318ff21ba746 # Parent 103ddc9d157a085e7a73985d072be38a89f8933b (flyspell-default-dictionary): Allow nil as value, and make nil the default. diff -r 103ddc9d157a -r 29830f44be6a lisp/textmodes/flyspell.el --- a/lisp/textmodes/flyspell.el Sun Nov 11 20:11:14 2001 +0000 +++ b/lisp/textmodes/flyspell.el Sun Nov 11 20:12:27 2001 +0000 @@ -156,15 +156,17 @@ :version "21.1" :type 'hook) -(defcustom flyspell-default-dictionary "american" +(defcustom flyspell-default-dictionary nil "A string that is the name of the default dictionary. This is passed to the `ispell-change-dictionary' when flyspell is started. -If the variables `ispell-local-dictionary' or `ispell-dictionary' are non nil -when flyspell is started, the value of that variables is used instead -of `flyspell-default-dictionary' to select the default dictionary." +If the variable `ispell-local-dictionary' or `ispell-dictionary' is non-nil +when flyspell is started, the value of that variable is used instead +of `flyspell-default-dictionary' to select the default dictionary. +Otherwise, if `flyspell-default-dictionary' is nil, it means to use +Ispell's ultimate default dictionary." :group 'flyspell :version "21.1" - :type 'string) + :type '(choice string nil)) (defcustom flyspell-tex-command-regexp "\\(\\(begin\\|end\\)[ \t]*{\\|\\(cite[a-z*]*\\|label\\|ref\\|eqref\\|usepackage\\|documentclass\\)[ \t]*\\(\\[[^]]*\\]\\)?{[^{}]*\\)"