]> git.eshelyaron.com Git - emacs.git/commitdiff
(rmail-edit-mode): Use delay-mode-hooks.
authorLute Kamstra <lute@gnu.org>
Tue, 14 Jun 2005 12:08:43 +0000 (12:08 +0000)
committerLute Kamstra <lute@gnu.org>
Tue, 14 Jun 2005 12:08:43 +0000 (12:08 +0000)
lisp/mail/rmailedit.el

index ceea389cea1d828825122fcbef926f237c44272a..2fbc92906352a7c40c57f46ebbaded47d9554330 100644 (file)
@@ -57,7 +57,7 @@ to return to regular RMAIL:
   *  \\[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")