summaryrefslogtreecommitdiff
path: root/lisp/textmodes/text-mode.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2022-08-06 16:44:29 +0200
committerStefan Kangas <stefan@marxist.se>2022-08-06 17:05:22 +0200
commit56783e605c847c5af57fd6382157f75dd6b14e6f (patch)
treea7c71672db8343ba514263a084cfbfc683a3444d /lisp/textmodes/text-mode.el
parent2bbc5c597445cad9961b2480f31490f93a5d1ffa (diff)
downloademacs-56783e605c847c5af57fd6382157f75dd6b14e6f.tar.gz
Make indented-text-mode alias obsolete
* lisp/textmodes/text-mode.el (indented-text-mode): Make compat alias obsolete. * lisp/allout.el (allout-use-hanging-indents): * lisp/emulation/viper.el (viper-vi-state-mode-list): * lisp/textmodes/remember.el (remember-mode): * lisp/textmodes/text-mode.el (text-mode-map): * lisp/vc/ediff-util.el (ediff-choose-syntax-table): Don't mention or use above obsolete alias.
Diffstat (limited to 'lisp/textmodes/text-mode.el')
-rw-r--r--lisp/textmodes/text-mode.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/textmodes/text-mode.el b/lisp/textmodes/text-mode.el
index 076f8dd98ff..2275ab2a3ce 100644
--- a/lisp/textmodes/text-mode.el
+++ b/lisp/textmodes/text-mode.el
@@ -72,8 +72,8 @@
(define-key map "\e\t" #'ispell-complete-word)
map)
"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.")
+Many other modes, such as `mail-mode' and `outline-mode', inherit
+all the commands defined in this map.")
(easy-menu-define text-mode-menu text-mode-map
"Menu for `text-mode'."
@@ -164,8 +164,6 @@ Turning on Paragraph-Indent minor mode runs the normal hook
(remove-function (local 'indent-line-function)
#'indent-to-left-margin)))
-(defalias 'indented-text-mode #'text-mode)
-
;; This can be made a no-op once all modes that use text-mode-hook
;; are "derived" from text-mode. (As of 2015/04, and probably well before,
;; the only one I can find that doesn't so derive is rmail-edit-mode.)
@@ -245,6 +243,8 @@ The argument NLINES says how many lines to center."
(setq nlines (1+ nlines))
(forward-line -1)))))
+(define-obsolete-function-alias 'indented-text-mode #'text-mode "29.1")
+
(provide 'text-mode)
;;; text-mode.el ends here