Current File : //proc/thread-self/root/kunden/usr/share/emacs/27.2/lisp/textmodes/text-mode.elc |
;ELC
;;; Compiled
;;; in Emacs version 27.2
;;; with all optimizations.
;;; This file uses dynamic docstrings, first added in Emacs 19.29.
;;; This file does not contain utf-8 non-ASCII characters,
;;; and so can be loaded in Emacs versions earlier than 23.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(byte-code "\300\301\302\303\304DD\305\306\307\310\311\312\313& \207" [custom-declare-variable text-mode-hook funcall function #[0 "\300\207" [(text-mode-hook-identify)] 1] "Normal hook run when entering Text mode and many related modes." :type hook :options (turn-on-auto-fill turn-on-flyspell) :group text] 10)
#@64 Non-nil if this buffer's major mode is a variant of Text mode.
(defvar text-mode-variant nil (#$ . 721))
(make-obsolete-variable 'text-mode-variant 'derived-mode-p "27.1")
#@41 Syntax table used while in `text-mode'.
(defvar text-mode-syntax-table (byte-code "\300 \301\302\303#\210\301\304\303#\210\301\305\306#\210\301\307\310\"\210\301\311\310\"\210\301\312\310\"\210\301\313\310\"\210\301\314\310\"\210\211\207" [make-syntax-table modify-syntax-entry 34 ". " 92 39 "w p" 1523 "w " 1524 183 8231 65306] 5) (#$ . 899))
#@151 Keymap for `text-mode'.
Many other modes, such as `mail-mode', `outline-mode' and `indented-text-mode',
inherit all the commands defined in this map.
(defvar text-mode-map (byte-code "\301 \302\303\304#\210\302\305\306\301\306!B#\210\307\310\311#\210\307\312\313#\210\307\314#\210\307\315\316#\210\307\317\320#\210\307\321\322#\210\211\207" [menu-bar-separator make-sparse-keymap define-key " " ispell-complete-word [menu-bar text] "Text" bindings--define-key [menu-bar text toggle-text-mode-auto-fill] (menu-item "Auto Fill" toggle-text-mode-auto-fill :button (:toggle memq 'turn-on-auto-fill text-mode-hook) :help "Automatically fill text while typing in text modes (Auto Fill mode)") [menu-bar text paragraph-indent-minor-mode] (menu-item "Paragraph Indent" paragraph-indent-minor-mode :button (:toggle bound-and-true-p paragraph-indent-minor-mode) :help "Toggle paragraph indent minor mode") [menu-bar text sep] [menu-bar text center-region] (menu-item "Center Region" center-region :help "Center the marked region" :enable (region-active-p)) [menu-bar text center-paragraph] (menu-item "Center Paragraph" center-paragraph :help "Center the current paragraph") [menu-bar text center-line] (menu-item "Center Line" center-line :help "Center the current line")] 7) (#$ . 1257))
(defvar text-mode-hook nil)
(byte-code "\300\301N\204\f \302\300\301\303#\210\304\305!\204 \302\305\306\307#\210\300\207" [text-mode-hook variable-documentation put "Hook run after entering Text mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" boundp text-mode-map definition-name text-mode] 4)
(defvar text-mode-map (make-sparse-keymap))
(byte-code "\301\302N\204 \303\301\302\304\305!#\210\306\307!\204 \303\307\310\311#\210\312\313 !\210\307\302N\204- \303\307\302\304\314!#\210\306\300!\204B \303\300\310\311#\210\315\316\300\317\"\210!\210\300\302N\204P \303\300\302\304\320!#\210\303\311\321\317#\207" [text-mode-abbrev-table text-mode-map variable-documentation put purecopy "Keymap for `text-mode'." boundp text-mode-syntax-table definition-name text-mode (lambda (#1=#:def-tmp-var) (defvar text-mode-syntax-table #1#)) make-syntax-table "Syntax table for `text-mode'." (lambda (#1#) (defvar text-mode-abbrev-table #1#)) define-abbrev-table nil "Abbrev table for `text-mode'." derived-mode-parent] 5)
#@299 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'.
(defalias 'text-mode #[0 "\306\300!\210\307\310 \210\311\312\313!\210\314\f!\210
\306\315!\210\307
\306\316!\210)\317\320!\207" [delay-mode-hooks major-mode mode-name text-mode-map text-mode-syntax-table text-mode-abbrev-table make-local-variable t kill-all-local-variables text-mode "Text" use-local-map set-syntax-table text-mode-variant require-final-newline run-mode-hooks text-mode-hook local-abbrev-table mode-require-final-newline] 2 (#$ . 3652) nil])
(defvar paragraph-indent-text-mode-hook nil)
(byte-code "\300\301N\204\f \302\300\301\303#\210\304\305!\204 \302\305\306\307#\210\300\207" [paragraph-indent-text-mode-hook variable-documentation put "Hook run after entering Parindent mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" boundp paragraph-indent-text-mode-map definition-name paragraph-indent-text-mode] 4)
(defvar paragraph-indent-text-mode-map (make-sparse-keymap))
(byte-code "\300\301N\204 \302\300\301\303\304!#\210\302\305\306\307#\207" [paragraph-indent-text-mode-map variable-documentation put purecopy "Keymap for `paragraph-indent-text-mode'." paragraph-indent-text-mode derived-mode-parent text-mode] 5)
#@430 Major mode for editing text, with leading spaces starting a paragraph.
In this mode, you do not need blank lines between paragraphs
when the first line of the following paragraph starts with whitespace.
`paragraph-indent-minor-mode' provides a similar facility as a minor mode.
Special commands:
\{text-mode-map}
Turning on Paragraph-Indent Text mode runs the normal hooks
`text-mode-hook' and `paragraph-indent-text-mode-hook'.
(defalias 'paragraph-indent-text-mode #[0 "\304\300!\210\305\306 \210\307\310\306\311N\203 \312\307\311\306\311N#\210\313!\204'