diff options
| author | Miles Bader | 2001-09-18 01:04:37 +0000 |
|---|---|---|
| committer | Miles Bader | 2001-09-18 01:04:37 +0000 |
| commit | 13efce4046b77fc7cd9a4fb00e0f05fbedfe39ce (patch) | |
| tree | a37d4c47eafecbbbd5678005b57c17217ab11a21 | |
| parent | e18c8b8d2117cc47eb9a8c0f71fda1d6701b7508 (diff) | |
| download | emacs-13efce4046b77fc7cd9a4fb00e0f05fbedfe39ce.tar.gz emacs-13efce4046b77fc7cd9a4fb00e0f05fbedfe39ce.zip | |
(gnus-server-insert-server-line): Don't let an error querying a backend
abort the whole process.
| -rw-r--r-- | lisp/gnus/gnus-srvr.el | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/lisp/gnus/gnus-srvr.el b/lisp/gnus/gnus-srvr.el index 987482b465b..5204db1bb8d 100644 --- a/lisp/gnus/gnus-srvr.el +++ b/lisp/gnus/gnus-srvr.el | |||
| @@ -174,13 +174,15 @@ The following commands are available: | |||
| 174 | (let* ((gnus-tmp-how (car method)) | 174 | (let* ((gnus-tmp-how (car method)) |
| 175 | (gnus-tmp-where (nth 1 method)) | 175 | (gnus-tmp-where (nth 1 method)) |
| 176 | (elem (assoc method gnus-opened-servers)) | 176 | (elem (assoc method gnus-opened-servers)) |
| 177 | (gnus-tmp-status (cond ((eq (nth 1 elem) 'denied) | 177 | (gnus-tmp-status |
| 178 | "(denied)") | 178 | (if (eq (nth 1 elem) 'denied) |
| 179 | ((or (gnus-server-opened method) | 179 | "(denied)" |
| 180 | (eq (nth 1 elem) 'ok)) | 180 | (condition-case nil |
| 181 | "(opened)") | 181 | (if (or (gnus-server-opened method) |
| 182 | (t | 182 | (eq (nth 1 elem) 'ok)) |
| 183 | "(closed)")))) | 183 | "(opened)" |
| 184 | "(closed)") | ||
| 185 | ((error) "(error)"))))) | ||
| 184 | (beginning-of-line) | 186 | (beginning-of-line) |
| 185 | (gnus-add-text-properties | 187 | (gnus-add-text-properties |
| 186 | (point) | 188 | (point) |