Commit 71f56da2 authored by Katsumi Yamaoka's avatar Katsumi Yamaoka
Browse files

gnus-art.el (gnus-article-view-part): Toggle subparts of multipart/alternative part

parent a7aef6f5
2012-07-03 Katsumi Yamaoka <yamaoka@jpl.org>
* gnus-art.el (gnus-article-view-part):
Toggle subparts of multipart/alternative part.
2012-07-02 Katsumi Yamaoka <yamaoka@jpl.org>
 
* gnus-sync.el: Simply require json.
......
......@@ -5621,7 +5621,9 @@ all parts."
(let ((handle (cdr (assq n gnus-article-mime-handle-alist))))
(when (gnus-article-goto-part n)
(if (equal (car handle) "multipart/alternative")
(gnus-article-press-button)
(progn
(beginning-of-line) ;; Make it toggle subparts
(gnus-article-press-button))
(when (eq (gnus-mm-display-part handle) 'internal)
(gnus-set-window-start)))))))
......
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