# HG changeset patch # User Katsumi Yamaoka # Date 1283733666 0 # Node ID f0d95837f8634630278ca9d9087d227c0e5d3641 # Parent b38765bfe949aa5647f6e4fb9f47bc5f40583360 gnus-html.el (gnus-article-html): Allow calling without specifying the handle. In that case, dissect the buffer first. diff -r b38765bfe949 -r f0d95837f863 lisp/gnus/ChangeLog --- a/lisp/gnus/ChangeLog Mon Sep 06 00:37:02 2010 +0000 +++ b/lisp/gnus/ChangeLog Mon Sep 06 00:41:06 2010 +0000 @@ -1,5 +1,8 @@ 2010-09-05 Lars Magne Ingebrigtsen + * 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 diff -r b38765bfe949 -r f0d95837f863 lisp/gnus/gnus-html.el --- a/lisp/gnus/gnus-html.el Mon Sep 06 00:37:02 2010 +0000 +++ b/lisp/gnus/gnus-html.el Mon Sep 06 00:41:06 2010 +0000 @@ -73,8 +73,10 @@ 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