# HG changeset patch # User Richard M. Stallman # Date 854743452 0 # Node ID 228994bc4b4387d99fbba2f8921b5df4f1a673d1 # Parent 380e33f3a5c63b08d4f5bba154d0b1dd83fba3bb (sendmail-user-agent): Insert all the OTHER-HEADERS. diff -r 380e33f3a5c6 -r 228994bc4b43 lisp/simple.el --- a/lisp/simple.el Fri Jan 31 19:53:54 1997 +0000 +++ b/lisp/simple.el Fri Jan 31 20:44:12 1997 +0000 @@ -2887,7 +2887,17 @@ (in-reply-to (cdr (assoc-ignore-case "in-reply-to" other-headers)))) (or (mail continue to subject in-reply-to cc yank-action send-actions) continue - (error "Message aborted")))) + (error "Message aborted")) + (save-excursion + (goto-char (point-min)) + (search-forward mail-header-separator) + (beginning-of-line) + (while other-headers + (if (not (member (car (car other-headers)) '("in-reply-to" "cc"))) + (insert (car (car other-headers)) ": " + (cdr (car other-headers)) "\n")) + (setq other-headers (cdr other-headers))) + t))) 'mail-send-and-exit) (define-mail-user-agent 'mh-e-user-agent