(mml-preview): Bind message-this-is-mail if it is mail.
authorKatsumi Yamaoka <yamaoka@jpl.org>
Fri, 15 Nov 2002 10:22:55 +0000 (10:22 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Fri, 15 Nov 2002 10:22:55 +0000 (10:22 +0000)
lisp/ChangeLog
lisp/mml.el

index 3ac45dc..4b2628f 100644 (file)
@@ -1,3 +1,7 @@
+2002-11-15  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * mml.el (mml-preview): Bind message-this-is-mail if it is mail.
+
 2002-11-13  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
 
        * gnus.el (gnus-summary-line-format): Document %C.
index bb02020..d401cb0 100644 (file)
@@ -337,7 +337,7 @@ A message part needs to be split into %d charset parts.  Really send? "
   "Return the buffer up till the next part, multipart or closing part or multipart.
 If MML is non-nil, return the buffer up till the correspondent mml tag."
   (let ((beg (point)) (count 1))
-   ;; If the tag ended at the end of the line, we go to the next line.
+    ;; If the tag ended at the end of the line, we go to the next line.
     (when (looking-at "[ \t]*\n")
       (forward-line 1))
     (if mml
@@ -881,7 +881,7 @@ See Info node `(emacs-mime)Composing'.
 
 (defun mml-minibuffer-read-file (prompt)
   (let ((file (read-file-name prompt nil nil t)))
-   ;; Prevent some common errors.  This is inspired by similar code in
+    ;; Prevent some common errors.  This is inspired by similar code in
     ;; VM.
     (when (file-directory-p file)
       (error "%s is a directory, cannot attach" file))
@@ -1014,6 +1014,7 @@ If RAW, don't highlight the article."
   (save-excursion
     (let* ((buf (current-buffer))
           (message-options message-options)
+          (message-this-is-mail (message-mail-p))
           (message-this-is-news (message-news-p))
           (message-posting-charset (or (gnus-setup-posting-charset
                                         (save-restriction