summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBasil L. Contovounesios <contovob@tcd.ie>2019-03-31 19:39:54 +0100
committerBasil L. Contovounesios <contovob@tcd.ie>2019-03-31 22:30:12 +0100
commit2e3deb09bd42d22a9b354937ce63b151fb493d8a (patch)
tree03fd9068e492a0c8cf01fd9390069921b406b6fc /doc
parent4c9950d015fdb520d29f04c6b1eb7418a442fc60 (diff)
downloademacs-2e3deb09bd42d22a9b354937ce63b151fb493d8a.tar.gz
Do not set indent-line-function in text-mode
For discussion, see thread starting at: https://lists.gnu.org/archive/html/emacs-devel/2019-03/msg01012.html * 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 'doc')
-rw-r--r--doc/lispref/modes.texi7
1 files changed, 1 insertions, 6 deletions
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi
index 7b64a56b199..4315b70ed72 100644
--- a/doc/lispref/modes.texi
+++ b/doc/lispref/modes.texi
@@ -1292,15 +1292,10 @@ Turning on Text mode runs the normal hook `text-mode-hook'."
@end group
@group
(setq-local text-mode-variant t)
- (setq-local require-final-newline mode-require-final-newline)
- (setq-local indent-line-function #'indent-relative))
+ (setq-local require-final-newline mode-require-final-newline))
@end group
@end smallexample
-@noindent
-(The last line is redundant nowadays, since @code{indent-relative} is
-the default value, and we'll delete it in a future version.)
-
@cindex @file{lisp-mode.el}
The three Lisp modes (Lisp mode, Emacs Lisp mode, and Lisp Interaction
mode) have more features than Text mode and the code is correspondingly