diff options
author | Basil L. Contovounesios <contovob@tcd.ie> | 2019-03-25 23:10:59 +0000 |
---|---|---|
committer | Basil L. Contovounesios <contovob@tcd.ie> | 2019-03-31 22:32:28 +0100 |
commit | 63471c837dde50179f3c7bb6d316d61160e9e825 (patch) | |
tree | d5d44e366ab401b154027ed1c5ddc02a48352b5c /lisp/textmodes | |
parent | 2e3deb09bd42d22a9b354937ce63b151fb493d8a (diff) | |
download | emacs-63471c837dde50179f3c7bb6d316d61160e9e825.tar.gz |
Do not set indent-line-function in text-mode
* lisp/textmodes/text-mode.el (text-mode): Do not reset
indent-line-function to its global default value of indent-relative.
* doc/lispref/modes.texi (Example Major Modes):
* etc/NEWS: Document change accordingly.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r-- | lisp/textmodes/text-mode.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/textmodes/text-mode.el b/lisp/textmodes/text-mode.el index 61144902083..e676a5dae20 100644 --- a/lisp/textmodes/text-mode.el +++ b/lisp/textmodes/text-mode.el @@ -38,8 +38,8 @@ :group 'text) (defvar text-mode-variant nil - "Non-nil if this buffer's major mode is a variant of Text mode. -Use (derived-mode-p \\='text-mode) instead.") + "Non-nil if this buffer's major mode is a variant of Text mode.") +(make-obsolete-variable 'text-mode-variant 'derived-mode-p "27.1") (defvar text-mode-syntax-table (let ((st (make-syntax-table))) |