Commit 2382b29d authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(rmail-retry-failure): Do save-window-excursion.

parent cc9684e8
......@@ -3422,9 +3422,12 @@ specifying headers which should not be copied into the new message."
(insert "BCC: " (user-login-name) "\n"))))
(goto-char (point-min))
(mail-position-on-field (if resending "Resent-To" "To") t)))))
(with-current-buffer rmail-this-buffer
(if pruned
(rmail-toggle-header 1))))))
;; save-window-excursion is needed because of the switch-to-buffer
;; in rmail-toggle-header.
(save-window-excursion
(with-current-buffer rmail-this-buffer
(if pruned
(rmail-toggle-header 1)))))))
(defun rmail-summary-exists ()
"Non-nil iff in an RMAIL buffer and an associated summary buffer exists.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment