From b1c0004b463c693394e21226291a4ad82cecc3cb Mon Sep 17 00:00:00 2001 From: ShengHuo ZHU Date: Wed, 18 Jul 2001 17:56:35 +0000 Subject: [PATCH] 2001-07-17 22:00:00 ShengHuo ZHU * gnus-group.el (gnus-group-select-group): Doc fix. * gnus-eform.el (gnus-edit-form-done): Return nil if end-of-file. --- lisp/ChangeLog | 6 ++++++ lisp/gnus-eform.el | 4 +++- lisp/gnus-group.el | 1 + lisp/gnus-topic.el | 1 + 4 files changed, 11 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 01d2ace83..05792a42c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2001-07-17 22:00:00 ShengHuo ZHU + + * gnus-group.el (gnus-group-select-group): Doc fix. + + * gnus-eform.el (gnus-edit-form-done): Return nil if end-of-file. + 2001-07-17 Katsumi Yamaoka * dgnushack.el (dgnushack-make-auto-load): Advise `make-autoload' diff --git a/lisp/gnus-eform.el b/lisp/gnus-eform.el index 9fe72420f..3c1ecc119 100644 --- a/lisp/gnus-eform.el +++ b/lisp/gnus-eform.el @@ -114,7 +114,9 @@ of the buffer." "Update changes and kill the current buffer." (interactive) (goto-char (point-min)) - (let ((form (read (current-buffer))) + (let ((form (condition-case nil + (read (current-buffer)) + (end-of-file nil))) (func gnus-edit-form-done-function)) (gnus-edit-form-exit) (funcall func form))) diff --git a/lisp/gnus-group.el b/lisp/gnus-group.el index 1c44e1155..9cda30aef 100644 --- a/lisp/gnus-group.el +++ b/lisp/gnus-group.el @@ -1772,6 +1772,7 @@ group." (defun gnus-group-select-group (&optional all) "Select this newsgroup. No article is selected automatically. +If the group is opened, just switch the summary buffer. If ALL is non-nil, already read articles become readable. If ALL is a number, fetch this number of articles." (interactive "P") diff --git a/lisp/gnus-topic.el b/lisp/gnus-topic.el index 396fc7717..b5eba3c39 100644 --- a/lisp/gnus-topic.el +++ b/lisp/gnus-topic.el @@ -1121,6 +1121,7 @@ articles in the topic and its subtopics." (defun gnus-topic-select-group (&optional all) "Select this newsgroup. No article is selected automatically. +If the group is opened, just switch the summary buffer. If ALL is non-nil, already read articles become readable. If ALL is a number, fetch this number of articles. -- 2.34.1