From: yamaoka Date: Tue, 30 Nov 1999 06:17:58 +0000 (+0000) Subject: (gnus-select-method): Use `if' instead of `when'. X-Git-Tag: t-gnus-6_13_3-07~5 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3a99d16ed7a4da73bdb041131fd278e182b12ac;p=elisp%2Fgnus.git- (gnus-select-method): Use `if' instead of `when'. --- diff --git a/lisp/gnus.el b/lisp/gnus.el index 93cc25a..5cc50d7 100644 --- a/lisp/gnus.el +++ b/lisp/gnus.el @@ -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"))