Fix bug#9693 and bug#9697.

This commit is contained in:
Lars Magne Ingebrigtsen 2012-01-07 04:52:56 +00:00 committed by Katsumi Yamaoka
parent c61ab18c89
commit a363cbed1d
2 changed files with 11 additions and 2 deletions

View file

@ -1,5 +1,9 @@
2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
* gnus-sum.el (gnus-summary-read-group): Document more parameters
(bug#9693).
(gnus-summary-setup-buffer): Document return value (bug#9697).
* mm-decode.el (mm-interactively-view-part): Use `completing-read',
since ido doesn't work on symbols (bug#9632).

View file

@ -3503,7 +3503,8 @@ display only a single character."
(current-buffer))))))
(defun gnus-summary-setup-buffer (group)
"Initialize summary buffer."
"Initialize summary buffer.
If the setup was successful, non-nil is returned."
(let ((buffer (gnus-summary-buffer-name group))
(dead-name (concat "*Dead Summary "
(gnus-group-decoded-name group) "*")))
@ -3931,7 +3932,11 @@ Input should look like this: \"Sun, 14 Oct 2001 13:34:39 +0200\"."
"Start reading news in newsgroup GROUP.
If SHOW-ALL is non-nil, already read articles are also listed.
If NO-ARTICLE is non-nil, no article is selected initially.
If NO-DISPLAY, don't generate a summary buffer."
If NO-DISPLAY, don't generate the summary buffer contents.
If KILL-BUFFER, it should be a buffer that's killed once the new
summary buffer has been generated.
If BACKWARD, move point to the previous group in the group buffer
If SELECT-ARTICLES, only select those articles from GROUP."
(let (result)
(while (and group
(null (setq result