Variable: flyspell-mark-duplications-exceptions

flyspell-mark-duplications-exceptions is a customizable variable defined in flyspell.el.gz.

Value

((nil "that" "had") ("\\`francais" "nous" "vous"))

Documentation

A list of exceptions for duplicated words.

It should be a list of (LANGUAGE . EXCEPTION-LIST).

LANGUAGE can be nil, which means the exceptions apply regardless of the current dictionary, or a regular expression matching the dictionary name (ispell-local-dictionary or ispell-dictionary) for which the exceptions should apply.

EXCEPTION-LIST is a list of strings. The checked word is downcased before comparing with these exceptions.

This variable was added, or its default value changed, in Emacs 24.1.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/flyspell.el.gz
(defcustom flyspell-mark-duplications-exceptions
  '((nil . ("that" "had")) ; Common defaults for English.
    ("\\`francais" . ("nous" "vous")))
  "A list of exceptions for duplicated words.
It should be a list of (LANGUAGE . EXCEPTION-LIST).

LANGUAGE can be nil, which means the exceptions apply regardless of
the current dictionary, or a regular expression matching the
dictionary name (`ispell-local-dictionary' or
`ispell-dictionary') for which the exceptions should apply.

EXCEPTION-LIST is a list of strings.  The checked word is
downcased before comparing with these exceptions."
  :type '(alist :key-type (choice (const :tag "All dictionaries" nil)
				  regexp)
		:value-type (repeat string))
  :version "24.1")