diff options
| -rw-r--r-- | lisp/mail/rmail.el | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 4bad2115fb3..4ca92b13275 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el | |||
| @@ -1433,11 +1433,8 @@ Optional DEFAULT is password to start with." | |||
| 1433 | (case-fold-search t) | 1433 | (case-fold-search t) |
| 1434 | (quoted-printable-header-field-end | 1434 | (quoted-printable-header-field-end |
| 1435 | (save-excursion | 1435 | (save-excursion |
| 1436 | ;; Back up to end of previous line, in case the | ||
| 1437 | ;; Content-Transfer-Encoding field comes first. | ||
| 1438 | (forward-char -1) | ||
| 1439 | (re-search-forward | 1436 | (re-search-forward |
| 1440 | "\ncontent-transfer-encoding\\(\n?[\t ]\\)*:\\(\n?[\t ]\\)*quoted-printable\\(\n?[\t ]\\)*" | 1437 | "^content-transfer-encoding:\\(\n?[\t ]\\)*quoted-printable\\(\n?[\t ]\\)*" |
| 1441 | header-end t))) | 1438 | header-end t))) |
| 1442 | (size | 1439 | (size |
| 1443 | ;; Get the numeric value from the Content-Length field. | 1440 | ;; Get the numeric value from the Content-Length field. |
| @@ -1488,7 +1485,7 @@ Optional DEFAULT is password to start with." | |||
| 1488 | ;; Change "quoted-printable" to "8bit", | 1485 | ;; Change "quoted-printable" to "8bit", |
| 1489 | ;; to reflect the decoding we just did. | 1486 | ;; to reflect the decoding we just did. |
| 1490 | (goto-char quoted-printable-header-field-end) | 1487 | (goto-char quoted-printable-header-field-end) |
| 1491 | (zap-to-char -1 ?:) | 1488 | (delete-region (point) (search-backward ":")) |
| 1492 | (insert ": 8bit")))) | 1489 | (insert ": 8bit")))) |
| 1493 | 1490 | ||
| 1494 | (save-excursion | 1491 | (save-excursion |