2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
+ * gnus-html.el (gnus-article-html): Allow calling without specifying
+ the handle. In that case, dissect the buffer first.
+
* gnus-sum.el (gnus-set-mode-line): Don't pad the mode line string.
* nnimap.el (nnimap-open-connection): Revert the change that would look
map))
;;;###autoload
-(defun gnus-article-html (handle)
+(defun gnus-article-html (&optional handle)
(let ((article-buffer (current-buffer)))
+ (unless handle
+ (setq handle (mm-dissect-buffer t)))
(save-restriction
(narrow-to-region (point) (point))
(save-excursion