* rmailout.el (rmail-delete-unwanted-fields): Handle mbox format.
(rmail-output): Error when target is a BABYL file. Handle MIME
- charset.
+ charset. Make sure headers are properly hidden after output.
+ Avoid pointless with-current-buffer call.
2006-01-24 Alex Schroeder <alex@gnu.org>
(insert msg-string)))))))
(unless noattribute
(when (equal major-mode 'rmail-mode)
- (rmail-set-attribute "filed" t)))
+ (rmail-set-attribute "filed" t)
+ (rmail-header-hide-headers)))
(setq count (1- count))
(unless from-gnus
(let ((next-message-p
(when (> count 0)
(rmail-next-undeleted-message 1))))
(num-appended (- orig-count count)))
- (when (and next-message-p original-headers-p)
- (rmail-toggle-header))
(when (and (> count 0) (not next-message-p))
- (error (with-current-buffer rmailbuf
- (format "Only %d message%s appended" num-appended
- (if (= num-appended 1) "" "s"))))
+ (error (format "Only %d message%s appended" num-appended
+ (if (= num-appended 1) "" "s")))
(setq count 0)))))))))
;;;###autoload