(car elem))))
(setq success (funcall (caddr elem) arg)))))
(setq sent t))))
+ (prog1
(when (and success sent)
(message-do-fcc)
;;(when (fboundp 'mail-hist-put-headers-into-history)
(message-do-send-housekeeping)
(message-do-actions message-send-actions)
;; Return success.
- t))))
+ t)
+ (kill-buffer message-encoding-buffer)))))
(defun message-send-via-mail (arg)
"Send the current message via mail."
(defun message-maybe-encode ()
(when message-mime-mode
+ ;; Inherit the buffer local variable `mime-edit-pgp-processing'.
+ (let ((pgp-processing (with-current-buffer message-edit-buffer
+ mime-edit-pgp-processing)))
+ (setq mime-edit-pgp-processing pgp-processing))
(run-hooks 'mime-edit-translate-hook)
(if (catch 'mime-edit-error
(save-excursion
+ (mime-edit-pgp-enclose-buffer)
(mime-edit-translate-body)
))
(error "Translation error!")
(pop3-retr process n crashbuf)
(save-excursion
(set-buffer crashbuf)
- (write-region-as-binary (point-min) (point-max) crashbox 'append)
+ (write-region-as-binary (point-min) (point-max)
+ crashbox 'append 'nomesg)
(set-buffer (process-buffer process))
(while (> (buffer-size) 5000)
(goto-char (point-min))
(setq date (format-time-string
"%a %b %e %T %Y"
(if date
- (apply 'encode-time (parse-time-string date))
+ (condition-case nil
+ (apply 'encode-time (parse-time-string date))
+ (error (current-time)))
(current-time))))
(setq From_ (format "\nFrom %s %s\n" from date))
(while (string-match "," From_)