]> code.delx.au - gnu-emacs/commit
Fix bug #9392 with rmail-forward.
authorEli Zaretskii <eliz@gnu.org>
Fri, 9 Sep 2011 08:59:51 +0000 (11:59 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 9 Sep 2011 08:59:51 +0000 (11:59 +0300)
commit14a29deb45df18c2e6e62cc1dfefcd63d46f168b
treebac14bad824f349f2030ad42586703c53479543e
parent208a048da7706662bcb55579063a63cc95a524c9
parentfd59d131bb4fe60fe008156795c243ec6e1127b0
Fix bug #9392 with rmail-forward.

 lisp/simple.el (mail-encode-mml): New defvar.
 lisp/mail/rmail.el (mail-encode-mml): Add a defvar.
 (rmail-enable-mime-composing): Default to t.
 (rmail-forward): Use MIME method of forwarding only if both
 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
 Set mail-encode-mml non-nil if the MIME method was used.
 lisp/mail/sendmail.el (mml-to-mime): Add autoload form.
 (mail-encode-mml): Add a defvar.
 (mail-mode): Make mail-encode-mml buffer-local and initialize it
 to nil.
 (mail-send): If mail-encode-mml is non-nil, run the outgoing
 message through mml-to-mime, and reset mail-encode-mml to nil.
lisp/ChangeLog
lisp/mail/rmail.el
lisp/mail/sendmail.el
lisp/simple.el