emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/mail/rmail.el


From: ShengHuo ZHU
Subject: [Emacs-diffs] Changes to emacs/lisp/mail/rmail.el
Date: Sun, 25 Nov 2001 15:45:38 -0500

Index: emacs/lisp/mail/rmail.el
diff -u emacs/lisp/mail/rmail.el:1.349 emacs/lisp/mail/rmail.el:1.350
--- emacs/lisp/mail/rmail.el:1.349      Sun Sep 16 03:55:19 2001
+++ emacs/lisp/mail/rmail.el    Sun Nov 25 15:45:37 2001
@@ -420,6 +420,9 @@
                 (other :tag "when asked" ask))
   :group 'rmail)
 
+(defvar rmail-enable-mime-composing nil
+  "*If non-nil, RMAIL uses `rmail-insert-mime-forwarded-message-function' to 
forward.")
+
 ;;;###autoload
 (defvar rmail-show-mime-function nil
   "Function to show MIME decoded message of RMAIL file.
@@ -429,7 +432,8 @@
 ;;;###autoload
 (defvar rmail-insert-mime-forwarded-message-function nil
   "Function to insert a message in MIME format so it can be forwarded.
-This function is called if `rmail-enable-mime' is non-nil.
+This function is called if `rmail-enable-mime' or 
+`rmail-enable-mime-composing' is non-nil.
 It is called with one argument FORWARD-BUFFER, which is a
 buffer containing the message to forward.  The current buffer
 is the outgoing mail buffer.")
@@ -3253,7 +3257,7 @@
          (save-excursion
            ;; Insert after header separator--before signature if any.
            (goto-char (mail-text-start))
-           (if rmail-enable-mime
+           (if (or rmail-enable-mime rmail-enable-mime-composing)
                (funcall rmail-insert-mime-forwarded-message-function
                         forward-buffer)
              (insert "------- Start of forwarded message -------\n")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]