Commit ffa1fed6 authored by Glenn Morris's avatar Glenn Morris
Browse files

(rmail-mime-multipart-handler): Accept the case where

there is no newline after the final mime boundary.  (Bug#4539)
Move markers on insertion so that any buttons inserted don't end up in
the next part of a multipart message.
parent 075518b5
2009-09-24 Glenn Morris <rgm@gnu.org>
* mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
there is no newline after the final mime boundary. (Bug#4539)
Move markers on insertion so that any buttons inserted don't end up in
the next part of a multipart message.
2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
* minibuffer.el (minibuffer-force-complete): Cycle the list, rather
......
......@@ -213,10 +213,10 @@ format."
;; If this is the last boundary according to RFC 2046, hide the
;; epilogue, else hide the boundary only. Use a marker for
;; `next' because `rmail-mime-show' may change the buffer.
(cond ((looking-at "--[ \t]*\n")
(cond ((looking-at "--[ \t]*$")
(setq next (point-max-marker)))
((looking-at "[ \t]*\n")
(setq next (copy-marker (match-end 0))))
(setq next (copy-marker (match-end 0) t)))
(t
(rmail-mm-get-boundary-error-message
"Malformed boundary" content-type content-disposition
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment