1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(rmail-retry-failure): Use rmail-get-header rather than a magical

save-excursion/restriction combination that does nothing.
This commit is contained in:
Glenn Morris 2009-03-02 07:36:03 +00:00
parent c9a81e054f
commit 925d658277
2 changed files with 4 additions and 7 deletions

View file

@ -3640,12 +3640,7 @@ specifying headers which should not be copied into the new message."
(let ((rmail-this-buffer (current-buffer))
(msgnum rmail-current-message)
bounce-start bounce-end bounce-indent resending
;; Fetch any content-type header in current message
;; Must search thru the whole unpruned header.
(content-type
(save-excursion
(save-restriction
(mail-fetch-field "Content-Type") ))))
(content-type (rmail-get-header "Content-Type")))
(save-excursion
(goto-char (point-min))
(let ((case-fold-search t))