diff options
Diffstat (limited to 'lisp/textmodes')
| -rw-r--r-- | lisp/textmodes/ispell.el | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index c68d69b969e..83fce8a2e21 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el | |||
| @@ -501,6 +501,12 @@ is automatically set when defined in the file with either | |||
| 501 | 501 | ||
| 502 | (make-variable-buffer-local 'ispell-local-dictionary) | 502 | (make-variable-buffer-local 'ispell-local-dictionary) |
| 503 | 503 | ||
| 504 | (defcustom ispell-dictionary nil | ||
| 505 | "Default dictionary to use if `ispell-local-dictionary' is nil." | ||
| 506 | :type '(choice string | ||
| 507 | (const :tag "default" nil)) | ||
| 508 | :group 'ispell) | ||
| 509 | |||
| 504 | (defcustom ispell-extra-args nil | 510 | (defcustom ispell-extra-args nil |
| 505 | "*If non-nil, a list of extra switches to pass to the Ispell program. | 511 | "*If non-nil, a list of extra switches to pass to the Ispell program. |
| 506 | For example, (\"-W\" \"3\") to cause it to accept all 1-3 character | 512 | For example, (\"-W\" \"3\") to cause it to accept all 1-3 character |
| @@ -1251,9 +1257,6 @@ used as key in `ispell-local-dictionary-alist' and `ispell-dictionary-alist'.") | |||
| 1251 | "The name of the current personal dictionary, or nil for the default. | 1257 | "The name of the current personal dictionary, or nil for the default. |
| 1252 | This is passed to the ispell process using the `-p' switch.") | 1258 | This is passed to the ispell process using the `-p' switch.") |
| 1253 | 1259 | ||
| 1254 | (defvar ispell-dictionary nil | ||
| 1255 | "Default dictionary to use if `ispell-local-dictionary' is nil.") | ||
| 1256 | |||
| 1257 | (defun ispell-decode-string (str) | 1260 | (defun ispell-decode-string (str) |
| 1258 | "Decodes multibyte character strings. | 1261 | "Decodes multibyte character strings. |
| 1259 | Protects against bogus binding of `enable-multibyte-characters' in XEmacs." | 1262 | Protects against bogus binding of `enable-multibyte-characters' in XEmacs." |