diff options
author | Glenn Morris <rgm@gnu.org> | 2015-04-27 23:46:09 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2015-04-27 23:46:09 -0700 |
commit | e82fd952f1548e3873ee78a748078ebc2eeb5119 (patch) | |
tree | f145cd32eb59ff453edf14b270cdf845a10a6070 /lisp | |
parent | 9eca163f170ad2633bd8656d8a649f4144b56a1b (diff) | |
download | emacs-e82fd952f1548e3873ee78a748078ebc2eeb5119.tar.gz emacs-e82fd952f1548e3873ee78a748078ebc2eeb5119.tar.bz2 emacs-e82fd952f1548e3873ee78a748078ebc2eeb5119.zip |
; Comments.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/mail/rmailedit.el | 2 | ||||
-rw-r--r-- | lisp/textmodes/text-mode.el | 3 |
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 @@ (declare-function rmail-summary-disable "rmailsum" ()) +;; We can't straightforwardly make this derive from text-mode, because +;; we need to bind (rmail-buffer-swapped) around the text-mode call. :( (defun rmail-edit-mode () "Major mode for editing the contents of an Rmail message. The 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 (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. +;; 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.) (defun text-mode-hook-identify () "Mark that this mode has run `text-mode-hook'. This is how `toggle-text-mode-auto-fill' knows which buffers to operate on." |