(gnus-select-method): Use `if' instead of `when'.
authoryamaoka <yamaoka>
Tue, 30 Nov 1999 06:17:58 +0000 (06:17 +0000)
committeryamaoka <yamaoka>
Tue, 30 Nov 1999 06:17:58 +0000 (06:17 +0000)
lisp/gnus.el

index 93cc25a..5cc50d7 100644 (file)
@@ -905,9 +905,9 @@ used to 899, you would say something along these lines:
        (list 'nntp (or (condition-case nil
                           (gnus-getenv-nntpserver)
                         (error nil))
-                      (when (and gnus-default-nntp-server
-                                 (not (string= gnus-default-nntp-server "")))
-                        gnus-default-nntp-server)
+                      (if (and gnus-default-nntp-server
+                               (not (string= gnus-default-nntp-server "")))
+                          gnus-default-nntp-server)
                       "news"))
        (if (or (null gnus-nntp-service)
               (equal gnus-nntp-service "nntp"))