From f3a99d16ed7a4da73bdb041131fd278e182b12ac Mon Sep 17 00:00:00 2001 From: yamaoka Date: Tue, 30 Nov 1999 06:17:58 +0000 Subject: [PATCH] (gnus-select-method): Use `if' instead of `when'. --- lisp/gnus.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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")) -- 1.7.10.4