Variable: flyspell-mark-duplications-flag

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

Value

t

Documentation

Non-nil means Flyspell reports a repeated word as an error.

See flyspell-mark-duplications-exceptions to add exceptions to this rule. Detection of repeated words is not implemented in
"large" regions; see variable flyspell-large-region(var)/flyspell-large-region(fun).

Probably introduced at or before Emacs version 20.3.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/flyspell.el.gz
(defcustom flyspell-mark-duplications-flag t
  "Non-nil means Flyspell reports a repeated word as an error.
See `flyspell-mark-duplications-exceptions' to add exceptions to this rule.
Detection of repeated words is not implemented in
\"large\" regions; see variable `flyspell-large-region'."
  :type 'boolean)