]> git.eshelyaron.com Git - emacs.git/commitdiff
(rmail-cease-edit): Call rmail-show-message even if message text is unchanged.
authorRichard M. Stallman <rms@gnu.org>
Fri, 1 May 1998 03:14:40 +0000 (03:14 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 1 May 1998 03:14:40 +0000 (03:14 +0000)
lisp/mail/rmailedit.el

index b83411ce5ae03342b5a16cbacff74c7c04a30f8e..8f5a65a9b59852145841ef9eb9ff74586f89397d 100644 (file)
@@ -106,14 +106,15 @@ to return to regular RMAIL:
            (aset rmail-summary-vector (1- rmail-current-message) nil)
            (save-excursion
              (rmail-widen-to-current-msgbeg
-               (function (lambda ()
+               (function (lambda ()
                            (forward-line 2)
                            (if (looking-at "Summary-line: ")
                                (let ((buffer-read-only nil))
                                  (delete-region (point)
                                                 (progn (forward-line 1)
-                                                       (point))))))))
-             (rmail-show-message))))))
+                                                       (point))))))))))))
+    (save-excursion
+      (rmail-show-message)))
   (setq buffer-read-only t))
 
 (defun rmail-abort-edit ()