aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey C Honig2007-08-20 02:32:54 +0000
committerJeffrey C Honig2007-08-20 02:32:54 +0000
commitd7c5b212c91bd7e270471e2c307d0c9338cbb102 (patch)
tree215460b5ba7a024345a3bd0c1966cd9164c7cd6c
parentb6fd8984bd123fbdb128815d08b52c89b796973c (diff)
downloademacs-d7c5b212c91bd7e270471e2c307d0c9338cbb102.tar.gz
emacs-d7c5b212c91bd7e270471e2c307d0c9338cbb102.zip
(mh-mml-forward-message): Address SF 1378993 and
forward messages as inline attatchments.
-rw-r--r--lisp/mh-e/ChangeLog5
-rw-r--r--lisp/mh-e/mh-mime.el15
2 files changed, 10 insertions, 10 deletions
diff --git a/lisp/mh-e/ChangeLog b/lisp/mh-e/ChangeLog
index 748b1e293e1..8c91b633c6d 100644
--- a/lisp/mh-e/ChangeLog
+++ b/lisp/mh-e/ChangeLog
@@ -1,3 +1,8 @@
12007-08-20 Jeffrey C Honig <jch@honig.net>
2
3 * mh-mime.el (mh-mml-forward-message): Address SF 1378993 and
4 forward messages as inline attatchments.
5
12007-08-19 Jeffrey C Honig <jch@honig.net> 62007-08-19 Jeffrey C Honig <jch@honig.net>
2 7
3 * mh-e.el (mh-invisible-header-fields-internal): We want to show 8 * mh-e.el (mh-invisible-header-fields-internal): We want to show
diff --git a/lisp/mh-e/mh-mime.el b/lisp/mh-e/mh-mime.el
index eefaa0ed8ac..ffe558d1a62 100644
--- a/lisp/mh-e/mh-mime.el
+++ b/lisp/mh-e/mh-mime.el
@@ -1220,16 +1220,11 @@ MESSAGE number."
1220 mh-sent-from-msg 1220 mh-sent-from-msg
1221 (string-to-number message)))) 1221 (string-to-number message))))
1222 (cond ((integerp msg) 1222 (cond ((integerp msg)
1223 (if (string= "" description) 1223 (mml-attach-file (format "%s%s/%d"
1224 ;; Rationale: mml-attach-file constructs a malformed composition 1224 mh-user-path (substring folder 1) msg)
1225 ;; if the description string is empty. This fixes SF #625168. 1225 "message/rfc822"
1226 (mml-attach-file (format "%s%s/%d" 1226 (if (string= "" description) nil description)
1227 mh-user-path (substring folder 1) msg) 1227 "inline"))
1228 "message/rfc822")
1229 (mml-attach-file (format "%s%s/%d"
1230 mh-user-path (substring folder 1) msg)
1231 "message/rfc822"
1232 description)))
1233 (t (error "The message number, %s, is not a integer" msg))))) 1228 (t (error "The message number, %s, is not a integer" msg)))))
1234 1229
1235(defun mh-mh-forward-message (&optional description folder messages) 1230(defun mh-mh-forward-message (&optional description folder messages)