changeset 63412:07d47babe5b8

(rmail-edit-mode): Use delay-mode-hooks.
author Lute Kamstra <lute@gnu.org>
date Tue, 14 Jun 2005 12:08:43 +0000
parents 1244410f3457
children a66bfdd4586a
files lisp/mail/rmailedit.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/rmailedit.el	Tue Jun 14 12:07:24 2005 +0000
+++ b/lisp/mail/rmailedit.el	Tue Jun 14 12:08:43 2005 +0000
@@ -57,7 +57,7 @@
   *  \\[rmail-cease-edit] makes them permanent.
 This functions runs the normal hook `rmail-edit-mode-hook'.
 \\{rmail-edit-map}"
-  (text-mode)
+  (delay-mode-hooks (text-mode))
   (use-local-map rmail-edit-map)
   (setq major-mode 'rmail-edit-mode)
   (setq mode-name "RMAIL Edit")