summaryrefslogtreecommitdiff
path: root/lisp/gnus
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-08-26 22:11:25 +0000
committerRichard M. Stallman <rms@gnu.org>1997-08-26 22:11:25 +0000
commite9ba7e367c81e1901b41abe77f32d6b3d0e78b5b (patch)
tree8c8c013e99be78dc7c52bafef4f32557936f83d7 /lisp/gnus
parent1b323f2f5da5ef9cbfe9d3972cc5079602e8dc90 (diff)
downloademacs-e9ba7e367c81e1901b41abe77f32d6b3d0e78b5b.tar.gz
(gnus-select-method): Change the other ignore-errors.
Diffstat (limited to 'lisp/gnus')
-rw-r--r--lisp/gnus/gnus.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/gnus/gnus.el b/lisp/gnus/gnus.el
index e73b3f4438a..0d73ceecbfe 100644
--- a/lisp/gnus/gnus.el
+++ b/lisp/gnus/gnus.el
@@ -775,8 +775,9 @@ used to 899, you would say something along these lines:
(defcustom gnus-select-method
(condition-case nil
(nconc
- (list 'nntp (or (ignore-errors
- (gnus-getenv-nntpserver))
+ (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)