* gnus-group.el (gnus-group-jump-to-group): Don't prompt for
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Fri, 21 May 2004 15:47:08 +0000 (15:47 +0000)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Fri, 21 May 2004 15:47:08 +0000 (15:47 +0000)
non-active groups.

lisp/ChangeLog
lisp/gnus-group.el

index 221b70f..66f91a4 100644 (file)
@@ -6,6 +6,9 @@
 
 2004-05-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * gnus-group.el (gnus-group-jump-to-group): Don't prompt for
+       non-active groups.
+
        * gnus-art.el (gnus-picon-databases): Add /usr/share/picons.
 
 2004-05-20  Magnus Henoch  <mange@freemail.hu>
index 721f4d8..9864717 100644 (file)
@@ -2090,11 +2090,7 @@ If PROMPT (the prefix) is a number, use the prompt specified in
     ;; Either go to the line in the group buffer...
     (unless (gnus-group-goto-group group)
       ;; ... or insert the line.
-      (if (or (gnus-active group)
-             (gnus-y-or-n-p
-              (format "Group %s is not active.  Continue? " group)))
-         (gnus-group-update-group group)
-       (error "No such group: %s." group))
+      (gnus-group-update-group group)
       (gnus-group-goto-group group)))
   ;; Adjust cursor point.
   (gnus-group-position-point))