changeset 40806:0f88ac1c1629

2001-11-07 ShengHuo ZHU <zsh@cs.rochester.edu> * mml.el (mml-preview): Bind mail-header-separator.
author ShengHuo ZHU <zsh@cs.rochester.edu>
date Wed, 07 Nov 2001 11:48:22 +0000
parents 55068042757f
children 1a5577482e7a
files lisp/gnus/ChangeLog lisp/gnus/mml.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/ChangeLog	Wed Nov 07 08:47:21 2001 +0000
+++ b/lisp/gnus/ChangeLog	Wed Nov 07 11:48:22 2001 +0000
@@ -1,3 +1,7 @@
+2001-11-07  ShengHuo ZHU  <zsh@cs.rochester.edu>
+
+	* mml.el (mml-preview): Bind mail-header-separator.
+
 2001-11-05  ShengHuo ZHU  <zsh@cs.rochester.edu>
 
 	* mml.el (mml-generate-mime-1): Use mm-with-unibyte-current-buffer.
--- a/lisp/gnus/mml.el	Wed Nov 07 08:47:21 2001 +0000
+++ b/lisp/gnus/mml.el	Wed Nov 07 11:48:22 2001 +0000
@@ -841,7 +841,8 @@
     (if (re-search-forward
 	 (concat "^" (regexp-quote mail-header-separator) "\n") nil t)
 	(replace-match "\n"))
-    (mml-to-mime)
+    (let ((mail-header-separator "")) ;; mail-header-separator is removed.
+      (mml-to-mime))
     (if raw
 	(when (fboundp 'set-buffer-multibyte)
 	  (let ((s (buffer-string)))