(let ((abuf (current-buffer))
(buf-name (concat (buffer-name) "-view"))
buf win)
+ (narrow-to-region (rmail-msgbeg rmail-current-message)
+ (rmail-msgend rmail-current-message))
(setq mime-message-structure
(mime-open-entity 'babyl abuf))
(set-buffer (mime-display-message mime-message-structure
(eval-after-load "rmail"
'(progn
(define-key rmail-mode-map "v" 'rmail-enable-mime)
- (setq rmail-show-mime-function (function rmail-show-mime-message))
+ (setq rmail-show-mime-function
+ (function rmail-show-mime-message)
+ rmail-insert-mime-forwarded-message-function
+ (function rmail-insert-mime-forwarded-message))
(unless rmail-view-mode-map
(setq rmail-view-mode-map (mime-view-define-keymap rmail-mode-map))
(define-key rmail-view-mode-map
:type 'regexp)
(defvar mime-edit-split-message-sender-alist
- '((mail-mode . (function
- (lambda ()
- (interactive)
- (funcall send-mail-function)
- )))))
+ '((mail-mode . (lambda ()
+ (interactive)
+ (funcall send-mail-function)))))
(defvar mime-edit-news-reply-mode-server-running nil)