2001-06-30 YAGI Tatsuya <yagi@is.titech.ac.jp>
authorShengHuo ZHU <zsh@cs.rochester.edu>
Tue, 3 Jul 2001 19:14:41 +0000 (19:14 +0000)
committerShengHuo ZHU <zsh@cs.rochester.edu>
Tue, 3 Jul 2001 19:14:41 +0000 (19:14 +0000)
* gnus-start.el (gnus-check-first-time-used): Use `if' instead of
`when'.

lisp/ChangeLog
lisp/gnus-start.el

index 81be6f7..0bd82c3 100644 (file)
@@ -1,3 +1,8 @@
+2001-06-30  YAGI Tatsuya  <yagi@is.titech.ac.jp>
+
+       * gnus-start.el (gnus-check-first-time-used): Use `if' instead of
+       `when'.
+       
 2001-07-03  Simon Josefsson  <jas@extundo.com>
        From Nuutti Kotivuori <nuutti.kotivuori@smarttrust.com>
 
index 5b661cb..7402219 100644 (file)
@@ -1174,22 +1174,22 @@ for new groups, and subscribe the new groups as zombies."
     (let ((groups (or gnus-default-subscribed-newsgroups
                      gnus-backup-default-subscribed-newsgroups))
          group)
-      (when (eq groups t)
-       ;; If t, we subscribe (or not) all groups as if they were new.
-       (mapatoms
-        (lambda (sym)
-          (when (setq group (symbol-name sym))
-            (let ((do-sub (gnus-matches-options-n group)))
-              (cond
-               ((eq do-sub 'subscribe)
-                (gnus-sethash group group gnus-killed-hashtb)
-                (gnus-call-subscribe-functions
-                 gnus-subscribe-options-newsgroup-method group))
-               ((eq do-sub 'ignore)
-                nil)
-               (t
-                (push group gnus-killed-list))))))
-        gnus-active-hashtb)
+      (if (eq groups t)
+         ;; If t, we subscribe (or not) all groups as if they were new.
+         (mapatoms
+          (lambda (sym)
+            (when (setq group (symbol-name sym))
+              (let ((do-sub (gnus-matches-options-n group)))
+                (cond
+                 ((eq do-sub 'subscribe)
+                  (gnus-sethash group group gnus-killed-hashtb)
+                  (gnus-call-subscribe-functions
+                   gnus-subscribe-options-newsgroup-method group))
+                 ((eq do-sub 'ignore)
+                  nil)
+                 (t
+                  (push group gnus-killed-list))))))
+          gnus-active-hashtb)
        (dolist (group groups)
          ;; Only subscribe the default groups that are activated.
          (when (gnus-active group)