aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/mail/rmailedit.el2
-rw-r--r--lisp/textmodes/text-mode.el3
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/mail/rmailedit.el b/lisp/mail/rmailedit.el
index 15d27a085fe..0b49782d80f 100644
--- a/lisp/mail/rmailedit.el
+++ b/lisp/mail/rmailedit.el
@@ -44,6 +44,8 @@
44 44
45(declare-function rmail-summary-disable "rmailsum" ()) 45(declare-function rmail-summary-disable "rmailsum" ())
46 46
47;; We can't straightforwardly make this derive from text-mode, because
48;; we need to bind (rmail-buffer-swapped) around the text-mode call. :(
47(defun rmail-edit-mode () 49(defun rmail-edit-mode ()
48 "Major mode for editing the contents of an Rmail message. 50 "Major mode for editing the contents of an Rmail message.
49The editing commands are the same as in Text mode, together with 51The editing commands are the same as in Text mode, together with
diff --git a/lisp/textmodes/text-mode.el b/lisp/textmodes/text-mode.el
index 7effa6ade59..1466556ab59 100644
--- a/lisp/textmodes/text-mode.el
+++ b/lisp/textmodes/text-mode.el
@@ -149,7 +149,8 @@ Turning on Paragraph-Indent minor mode runs the normal hook
149(defalias 'indented-text-mode 'text-mode) 149(defalias 'indented-text-mode 'text-mode)
150 150
151;; This can be made a no-op once all modes that use text-mode-hook 151;; This can be made a no-op once all modes that use text-mode-hook
152;; are "derived" from text-mode. 152;; are "derived" from text-mode. (As of 2015/04, and probably well before,
153;; the only one I can find that doesn't so derive is rmail-edit-mode.)
153(defun text-mode-hook-identify () 154(defun text-mode-hook-identify ()
154 "Mark that this mode has run `text-mode-hook'. 155 "Mark that this mode has run `text-mode-hook'.
155This is how `toggle-text-mode-auto-fill' knows which buffers to operate on." 156This is how `toggle-text-mode-auto-fill' knows which buffers to operate on."