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.
This commit is contained in:
parent
2e3deb09bd
commit
63471c837d
2 changed files with 7 additions and 2 deletions
5
etc/NEWS
5
etc/NEWS
|
@ -1233,6 +1233,11 @@ near the current column in Tabulated Lists (see variables
|
|||
'tabulated-list-tty-sort-indicator-asc', and
|
||||
'tabulated-list-tty-sort-indicator-desc').
|
||||
|
||||
** Text mode
|
||||
|
||||
+++
|
||||
*** 'text-mode-variant' is now obsolete, use 'derived-mode-p' instead.
|
||||
|
||||
|
||||
* New Modes and Packages in Emacs 27.1
|
||||
|
||||
|
|
|
@ -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)))
|
||||
|
|
Loading…
Add table
Reference in a new issue