File: flyspell.el.html

Flyspell is a minor Emacs mode performing on-the-fly spelling checking.

To enable Flyspell minor mode, type M-x flyspell-mode. This applies only to the current buffer.

To enable Flyspell in text representing computer programs, type M-x flyspell-prog-mode. In that mode only text inside comments and strings is checked.

Some user variables control the behavior of flyspell. They are those defined under the User configuration comment.

Defined variables (46)

flyspell-abbrev-pIf non-nil, add correction to abbreviation table.
flyspell-after-incorrect-word-stringString used to indicate an incorrect word ending.
flyspell-auto-correct-bindingThe key binding for flyspell auto correction.
flyspell-auto-correct-previous-posHolds the start of the first incorrect word before point.
flyspell-before-incorrect-word-stringString used to indicate an incorrect word starting.
flyspell-buffersFor remembering buffers running flyspell.
flyspell-case-fold-duplicationsNon-nil means Flyspell matches duplicate words case-insensitively.
flyspell-check-tex-math-commandNon-nil means check even inside TeX math environment.
flyspell-consider-dash-as-word-delimiter-flagNon-nil means that the ‘-’ char is considered as a word delimiter.
flyspell-default-delayed-commandsThe standard list of delayed commands for Flyspell.
flyspell-default-deplacement-commandsThe standard list of deplacement commands for Flyspell.
flyspell-default-dictionaryA string that is the name of the default dictionary.
flyspell-delayThe number of seconds to wait before checking, after a "delayed" command.
flyspell-delayed-commandsList of commands that are "delayed" for Flyspell mode.
flyspell-deplacement-commandsList of commands that are "deplacement" for Flyspell mode.
flyspell-dictionaries-that-consider-dash-as-word-delimiterList of dictionary names that consider ‘-’ as word delimiter.
flyspell-duplicate-distanceThe maximum distance for finding duplicates of unrecognized words.
flyspell-external-ispell-processThe external Flyspell Ispell process.
flyspell-generic-check-word-pFunction providing per-mode customization over which words are flyspelled.
flyspell-generic-check-word-predicateFunction providing per-mode customization over which words are flyspelled.
flyspell-highlight-flagHow Flyspell should indicate misspelled words.
flyspell-highlight-propertiesNon-nil means highlight incorrect words even if a property exists for this word.
flyspell-incorrect-hookList of functions to be called when incorrect words are encountered.
flyspell-insert-functionFunction for inserting word by flyspell upon correction.
flyspell-issue-message-flagNon-nil means that Flyspell emits messages when checking words.
flyspell-issue-welcome-flagNon-nil means that Flyspell should display a welcome message when started.
flyspell-large-regionThe threshold that determines if a region is small.
flyspell-last-bufferThe buffer in which the last flyspell operation took place.
flyspell-mark-duplications-exceptionsA list of exceptions for duplicated words.
flyspell-mark-duplications-flagNon-nil means Flyspell reports a repeated word as an error.
flyspell-modeNon-nil if Flyspell mode is enabled.
flyspell-mode-hookHook run after entering or leaving ‘flyspell-mode’.
flyspell-mode-line-stringString displayed on the mode line when flyspell is active.
flyspell-mode-mapMinor mode keymap for Flyspell mode--for the whole buffer.
flyspell-mouse-mapKeymap for Flyspell to put on erroneous words.
flyspell-persistent-highlightNon-nil means misspelled words remain highlighted until corrected.
flyspell-pre-bufferBuffer current before ‘this-command’.
flyspell-pre-columnColumn before running ‘this-command’.
flyspell-pre-pointPoint before running ‘this-command’.
flyspell-previous-commandThe last interactive command checked by Flyspell.
flyspell-prog-text-facesFaces corresponding to text in programming-mode buffers.
flyspell-sort-correctionsIf non-nil, sort the corrections before popping them.
flyspell-sort-corrections-functionThe function used to sort corrections.
flyspell-tex-command-regexpA string that is the regular expression that matches TeX commands.
flyspell-use-global-abbrev-table-pIf non-nil, prefer global abbrev table to local abbrev table.
flyspell-use-meta-tabNon-nil means that flyspell uses M-TAB to correct word.

Defined functions (64)

flyspell-accept-buffer-local-defs(&optional FORCE)
flyspell-adjust-cursor-point(SAVE CURSOR-LOCATION OLD-MAX)
flyspell-after-change-function(START STOP LEN)
flyspell-already-abbrevp(TABLE WORD)
flyspell-auto-correct-previous-hook()
flyspell-auto-correct-previous-word(POSITION)
flyspell-auto-correct-word()
flyspell-buffer()
flyspell-change-abbrev(TABLE OLD NEW)
flyspell-check-changed-word-p(START STOP)
flyspell-check-pre-word-p()
flyspell-check-previous-highlighted-word(&optional ARG)
flyspell-check-region-doublons(BEG END)
flyspell-check-word-p()
flyspell-context-menu(MENU CLICK)
flyspell-correct-word(EVENT)
flyspell-correct-word-before-point(&optional EVENT OPOINT)
flyspell-debug-signal-no-check(MSG OBJ)
flyspell-define-abbrev(NAME EXPANSION)
flyspell-delay-command(COMMAND)
flyspell-delay-commands()
flyspell-delete-all-overlays()
flyspell-delete-region-overlays(BEG END)
flyspell-deplacement-command(COMMAND)
flyspell-deplacement-commands()
flyspell-display-next-corrections(CORRECTIONS)
flyspell-do-correct(REPLACE POSS WORD CURSOR-LOCATION START END SAVE)
flyspell-emacs-popup(EVENT POSS WORD)
flyspell-external-point-words()
flyspell-generic-progmode-verify()
flyspell-get-word(&optional FOLLOWING EXTRA-OTHERCHARS)
flyspell-goto-next-error()
flyspell-highlight-duplicate-region(BEG END POSS)
flyspell-highlight-incorrect-region(BEG END POSS)
flyspell-large-region(BEG END)
flyspell-maybe-correct-doubling(BEG END POSS)
flyspell-maybe-correct-transposition(BEG END POSS)
flyspell-minibuffer-p(BUFFER)
flyspell-mode(&optional ARG)
flyspell-mode-off()
flyspell-mode-on(&optional SHOW-MSG)
flyspell-notify-misspell(WORD POSS)
flyspell-overlay-p(O)
flyspell-post-command-hook()
flyspell-pre-command-hook()
flyspell-process-localwords(MISSPELLINGS-BUFFER)
flyspell-prog-mode()
flyspell-properties-at-p(POS)
flyspell-region(BEG END)
flyspell-small-region(BEG END)
flyspell-sort(CORRS WORD)
flyspell-sort-corrections-alphabetically(CORR1 CORR2 _)
flyspell-tex-command-p(WORD)
flyspell-unhighlight-at(POS)
flyspell-word(&optional FOLLOWING KNOWN-MISSPELLING)
flyspell-word-search-backward(WORD BOUND &optional IGNORE-CASE)
flyspell-word-search-forward(WORD BOUND)
mail-mode-flyspell-verify()
make-flyspell-overlay(BEG END FACE MOUSE-FACE)
sgml-mode-flyspell-verify()
tex-mode-flyspell-verify()
texinfo-mode-flyspell-verify()
turn-off-flyspell()
turn-on-flyspell()

Defined faces (2)

flyspell-duplicateFlyspell face for words that appear twice in a row. See also `flyspell-duplicate-distance'.
flyspell-incorrectFlyspell face for misspelled words.