diff options
| author | Karl Heuer | 1997-11-18 21:22:28 +0000 |
|---|---|---|
| committer | Karl Heuer | 1997-11-18 21:22:28 +0000 |
| commit | 4877ba13d7971e10bf8b35e6c675f06bd9c46d2a (patch) | |
| tree | f06779809a4d19395949e54a9c69047395284294 | |
| parent | ae9f695f42e7a283b59f5c045425497b7e053316 (diff) | |
| download | emacs-4877ba13d7971e10bf8b35e6c675f06bd9c46d2a.tar.gz emacs-4877ba13d7971e10bf8b35e6c675f06bd9c46d2a.zip | |
Improve previous change.
| -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 |