comparison lisp/mail/rmailout.el @ 90286:5b7d410e31f9

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-7 Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 4-14) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (base, patch 1-7) - tag of miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-187 - Update from CVS - Merge from emacs--devo--0 * miles@gnu.org--gnu-2005/gnus--rel--5.10 (patch 187) - Update from CVS
author Miles Bader <miles@gnu.org>
date Wed, 25 Jan 2006 07:10:04 +0000
parents 7beb78bc1f8e 232a4bf5f26f
children c5406394f567
comparison
equal deleted inserted replaced
90285:5251b70632c4 90286:5b7d410e31f9
347 (mail-strip-quoted-names (or (mail-fetch-field "from") 347 (mail-strip-quoted-names (or (mail-fetch-field "from")
348 (mail-fetch-field "really-from") 348 (mail-fetch-field "really-from")
349 (mail-fetch-field "sender") 349 (mail-fetch-field "sender")
350 "unknown")) 350 "unknown"))
351 " " (current-time-string) "\n")) 351 " " (current-time-string) "\n"))
352 (if mime-version 352 (when mime-version
353 (insert "MIME-Version: " mime-version 353 (insert "MIME-Version: " mime-version)
354 "\nContent-type: " content-type "\n")) 354 ;; Some malformed MIME messages set content-type to nil.
355 (when content-type
356 (insert "\nContent-type: " content-type "\n")))
355 ;; ``Quote'' "\nFrom " as "\n>From " 357 ;; ``Quote'' "\nFrom " as "\n>From "
356 ;; (note that this isn't really quoting, as there is no requirement 358 ;; (note that this isn't really quoting, as there is no requirement
357 ;; that "\n[>]+From " be quoted in the same transparent way.) 359 ;; that "\n[>]+From " be quoted in the same transparent way.)
358 (let ((case-fold-search nil)) 360 (let ((case-fold-search nil))
359 (while (search-forward "\nFrom " nil t) 361 (while (search-forward "\nFrom " nil t)