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

Make rmail-mime toggle headers of non-mime messages.

* lisp/mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
if called on a non-mime message just toggle the headers.

Fixes: debbugs:8006
parent f8107b79
2011-11-24 Glenn Morris <rgm@gnu.org>
* mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
if called on a non-mime message just toggle the headers. (Bug#8006)
2011-11-24 Juanma Barranquero <lekktu@gmail.com>
* allout.el (allout-setup, allout-auto-save-temporarily-disabled)
......
......@@ -1269,7 +1269,8 @@ The arguments ARG and STATE have no effect in this case."
(or arg (goto-char (point-min)))
(point)) 'rmail-mime-entity)))
(if (or (not arg) entity) (rmail-mime-toggle-raw state)))
(message "Not a MIME message")))
(message "Not a MIME message, just toggling headers")
(rmail-toggle-header)))
(let* ((data (rmail-apply-in-message rmail-current-message 'buffer-string))
(buf (get-buffer-create "*RMAIL*"))
(rmail-mime-mbox-buffer rmail-view-buffer)
......
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