aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/gnus.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/gnus.el b/lisp/gnus.el
index ae1bb03a0f5..cd0272da233 100644
--- a/lisp/gnus.el
+++ b/lisp/gnus.el
@@ -1532,8 +1532,12 @@ Cross references (Xref: field) of articles are ignored."
1532(defun gnus-group-unsubscribe-current-group () 1532(defun gnus-group-unsubscribe-current-group ()
1533 "Toggle subscribe from/to unsubscribe current group." 1533 "Toggle subscribe from/to unsubscribe current group."
1534 (interactive) 1534 (interactive)
1535 (gnus-group-unsubscribe-group (gnus-group-group-name)) 1535 (let ((group (gnus-group-group-name)))
1536 (gnus-group-next-group 1)) 1536 (if group
1537 (progn
1538 (gnus-group-unsubscribe-group group)
1539 (gnus-group-next-group 1))
1540 (message "No Newsgroup found to \(un\)subscribe"))))
1537 1541
1538(defun gnus-group-unsubscribe-group (group) 1542(defun gnus-group-unsubscribe-group (group)
1539 "Toggle subscribe from/to unsubscribe GROUP. 1543 "Toggle subscribe from/to unsubscribe GROUP.