[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rmail-mbox-branch]: inital problems

From: Alfred M. Szmidt
Subject: Re: [rmail-mbox-branch]: inital problems
Date: Mon, 20 Sep 2004 02:42:04 +0200

   For instance, does this fix it for r?

Yes.  And the following fixes it for e.

I haven't done any extensive testing other then getting some new mail,
editing a few of them, and saving.  Will beat it a bit, then I will
make it my default rmail, and beat it some more.

Thank you for the help.

--- rmailedit.el        15 Sep 2004 01:32:18 +0200
+++ rmailedit.el        20 Sep 2004 02:21:58 +0200      
@@ -1,6 +1,6 @@
@@ -85,6 +85,8 @@ This functions runs the normal hook `rma
 (defun rmail-edit-current-message ()
   "Edit the contents of this message."
+  (if (= rmail-total-messages 0)
+      (error "No messages in this file"))
   (make-local-variable 'rmail-old-pruned)
   (setq rmail-old-pruned (rmail-msg-is-pruned))
   (make-local-variable 'rmail-edit-saved-coding-system)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]