Function: text-mode

text-mode is an interactive and byte-compiled function defined in text-mode.el.gz.

Signature

(text-mode)

Documentation

Major mode for editing text written for humans to read.

In this mode, paragraphs are delimited only by blank or white lines. You can thus get the full benefit of adaptive filling
 (see the variable adaptive-fill-mode).
C-M-i ispell-complete-word
Turning on Text mode runs the normal hook text-mode-hook.

View in manual

Probably introduced at or before Emacs version 1.9.

Key Bindings

Aliases

indented-text-mode (obsolete since 29.1)

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/text-mode.el.gz
(define-derived-mode text-mode nil "Text"
  "Major mode for editing text written for humans to read.
In this mode, paragraphs are delimited only by blank or white lines.
You can thus get the full benefit of adaptive filling
 (see the variable `adaptive-fill-mode').
\\{text-mode-map}
Turning on Text mode runs the normal hook `text-mode-hook'."
  (setq-local text-mode-variant t)
  (setq-local require-final-newline mode-require-final-newline)
  (add-hook 'context-menu-functions 'text-mode-context-menu 10 t))