diff options
| author | Chong Yidong | 2009-01-29 03:01:44 +0000 |
|---|---|---|
| committer | Chong Yidong | 2009-01-29 03:01:44 +0000 |
| commit | ace0f471fb0708a9a91a678ef1b2e53a058163c4 (patch) | |
| tree | 8cfd2f1ccab604297622d42dbc666883779cfd09 | |
| parent | 45ce0616ceaf6f9b416c227509fa48b3de2352fa (diff) | |
| download | emacs-ace0f471fb0708a9a91a678ef1b2e53a058163c4.tar.gz emacs-ace0f471fb0708a9a91a678ef1b2e53a058163c4.zip | |
(rmail-show-message): Unquote From lines.
| -rw-r--r-- | lisp/mail/rmail.el | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index a1207e6d18e..7f2ef8a2cf4 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el | |||
| @@ -2539,9 +2539,15 @@ The current mail message becomes the message displayed." | |||
| 2539 | (t)) | 2539 | (t)) |
| 2540 | (rmail-decode-region (point-min) (point-max) | 2540 | (rmail-decode-region (point-min) (point-max) |
| 2541 | coding-system view-buf))) | 2541 | coding-system view-buf))) |
| 2542 | ;; Copy the headers to the front of the message view buffer. | ||
| 2543 | (with-current-buffer rmail-view-buffer | 2542 | (with-current-buffer rmail-view-buffer |
| 2543 | ;; Unquote quoted From lines | ||
| 2544 | (goto-char (point-min)) | ||
| 2545 | (while (re-search-forward "^>+From " nil t) | ||
| 2546 | (beginning-of-line) | ||
| 2547 | (delete-char 1) | ||
| 2548 | (forward-line)) | ||
| 2544 | (goto-char (point-min))) | 2549 | (goto-char (point-min))) |
| 2550 | ;; Copy the headers to the front of the message view buffer. | ||
| 2545 | (rmail-copy-headers beg end) | 2551 | (rmail-copy-headers beg end) |
| 2546 | ;; Add the separator (blank line) between headers and body; | 2552 | ;; Add the separator (blank line) between headers and body; |
| 2547 | ;; highlight the message, activate any URL like text and add | 2553 | ;; highlight the message, activate any URL like text and add |