(rmail-only-expunge): Fix paren error.
authorRichard M. Stallman <rms@gnu.org>
Fri, 8 Jul 2005 22:31:32 +0000 (22:31 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 8 Jul 2005 22:31:32 +0000 (22:31 +0000)
Unconditionally try to leave point at the same old place.

lisp/mail/rmail.el

index 4b10c93..7176376 100644 (file)
@@ -3316,10 +3316,10 @@ See also user-option `rmail-confirm-expunge'."
          (narrow-to-region (- (buffer-size) omin) (- (buffer-size) omax)))
       (if (not dont-show)
          (rmail-show-message
-          (if (zerop rmail-current-message) 1 nil)
-       (if rmail-enable-mime
-           (goto-char (+ (point-min) opoint))
-         (goto-char (+ (point) opoint))))))))
+          (if (zerop rmail-current-message) 1 nil)))
+      (if rmail-enable-mime
+         (goto-char (+ (point-min) opoint))
+       (goto-char (+ (point) opoint))))))
 
 (defun rmail-expunge ()
   "Erase deleted messages from Rmail file and summary buffer."