diff options
| -rw-r--r-- | lisp/mh-e/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/mh-e/mh-mime.el | 12 |
2 files changed, 15 insertions, 3 deletions
diff --git a/lisp/mh-e/ChangeLog b/lisp/mh-e/ChangeLog index 23a0a2041a5..8ecaf76b5ae 100644 --- a/lisp/mh-e/ChangeLog +++ b/lisp/mh-e/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2006-01-16 Mark D. Baushke <mdb@gnu.org> | ||
| 2 | |||
| 3 | * mh-mime.el (mh-mime-display, mh-mm-inline-message): Fix use of | ||
| 4 | mm- functions for proper text=flowed handling. (SF #1273521) | ||
| 5 | (Patch contributed by Katsumi Yamaoka <yamaoka@jpl.org>.) | ||
| 6 | |||
| 1 | 2006-01-15 Bill Wohler <wohler@newt.com> | 7 | 2006-01-15 Bill Wohler <wohler@newt.com> |
| 2 | 8 | ||
| 3 | * mh-e.el (mh-limit-map, mh-help-messages): Change keybinding of | 9 | * mh-e.el (mh-limit-map, mh-help-messages): Change keybinding of |
diff --git a/lisp/mh-e/mh-mime.el b/lisp/mh-e/mh-mime.el index 0f2396d1804..f2eadd878b0 100644 --- a/lisp/mh-e/mh-mime.el +++ b/lisp/mh-e/mh-mime.el | |||
| @@ -921,7 +921,10 @@ parsed and then displayed." | |||
| 921 | ;; If needed dissect the current buffer | 921 | ;; If needed dissect the current buffer |
| 922 | (if pre-dissected-handles | 922 | (if pre-dissected-handles |
| 923 | (setq handles pre-dissected-handles) | 923 | (setq handles pre-dissected-handles) |
| 924 | (setq handles (or (mm-dissect-buffer nil) (mm-uu-dissect))) | 924 | (if (setq handles (mm-dissect-buffer nil)) |
| 925 | (when (fboundp 'mm-uu-dissect-text-parts) | ||
| 926 | (mm-uu-dissect-text-parts handles)) | ||
| 927 | (setq handles (mm-uu-dissect))) | ||
| 925 | (setf (mh-mime-handles (mh-buffer-data)) | 928 | (setf (mh-mime-handles (mh-buffer-data)) |
| 926 | (mm-merge-handles handles | 929 | (mm-merge-handles handles |
| 927 | (mh-mime-handles (mh-buffer-data)))) | 930 | (mh-mime-handles (mh-buffer-data)))) |
| @@ -1477,8 +1480,11 @@ decoding the same message multiple times." | |||
| 1477 | (mh-mime-display | 1480 | (mh-mime-display |
| 1478 | (or (gethash handle (mh-mime-handles-cache (mh-buffer-data))) | 1481 | (or (gethash handle (mh-mime-handles-cache (mh-buffer-data))) |
| 1479 | (setf (gethash handle (mh-mime-handles-cache (mh-buffer-data))) | 1482 | (setf (gethash handle (mh-mime-handles-cache (mh-buffer-data))) |
| 1480 | (let ((handles (or (mm-dissect-buffer nil) | 1483 | (let ((handles (mm-dissect-buffer nil))) |
| 1481 | (mm-uu-dissect)))) | 1484 | (if handles |
| 1485 | (when (fboundp 'mm-uu-dissect-text-parts) | ||
| 1486 | (mm-uu-dissect-text-parts handles)) | ||
| 1487 | (setq handles (mm-uu-dissect))) | ||
| 1482 | (setf (mh-mime-handles (mh-buffer-data)) | 1488 | (setf (mh-mime-handles (mh-buffer-data)) |
| 1483 | (mm-merge-handles | 1489 | (mm-merge-handles |
| 1484 | handles (mh-mime-handles (mh-buffer-data)))) | 1490 | handles (mh-mime-handles (mh-buffer-data)))) |