Mercurial > emacs
changeset 19183:aaf5a3f7a2bd
(ispell-dictionary-alist): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 06 Aug 1997 04:29:14 +0000 |
parents | b6c43ddadadc |
children | 83b4daf16443 |
files | lisp/textmodes/ispell.el |
diffstat | 1 files changed, 11 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/textmodes/ispell.el Wed Aug 06 02:47:18 1997 +0000 +++ b/lisp/textmodes/ispell.el Wed Aug 06 04:29:14 1997 +0000 @@ -556,15 +556,19 @@ NOT-CASECHARS is the opposite regexp of CASECHARS. -OTHERCHARS is a regular expression of other characters that are valid -in word constructs. Otherchars cannot be adjacent to each other in a -word, nor can they begin or end a word. This implies we can't check -\"Stevens'\" as a correct possessive and other correct formations. - +OTHERCHARS are characters in the NOT-CASECHARS set but which can be used to +construct words in some special way. If OTHERCHARS characters follow and +precede characters from CASECHARS, they are parsed as part of a word, +otherwise they become word-breaks. As an example in English, assume the +set ['] (as a regular expression) for OTHERCHARS. Then \"they're\" and +\"Steven's\" are parsed as single words including the \"'\" character, but +\"Stevens'\" does not include the quote character as part of the word. +If you want OTHERCHARS to be empty, use nil. Hint: regexp syntax requires the hyphen to be declared first here. -MANY-OTHERCHARS-P is non-nil if many otherchars are to be allowed in a -word instead of only one. +MANY-OTHERCHARS-P is non-nil when multiple OTHERCHARS are allowed in a word. +Otherwise only a single OTHERCHARS character is allowed to be part of any +single word. ISPELL-ARGS is a list of additional arguments passed to the ispell subprocess.