diff options
| -rw-r--r-- | lisp/mail/rnews.el | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/lisp/mail/rnews.el b/lisp/mail/rnews.el index d3e76dc1903..c793fa150eb 100644 --- a/lisp/mail/rnews.el +++ b/lisp/mail/rnews.el | |||
| @@ -524,15 +524,16 @@ to a list (a . b)" | |||
| 524 | (let ((file (concat news-path | 524 | (let ((file (concat news-path |
| 525 | (string-subst-char ?/ ?. news-current-news-group) | 525 | (string-subst-char ?/ ?. news-current-news-group) |
| 526 | "/" arg))) | 526 | "/" arg))) |
| 527 | (if (= arg | ||
| 528 | (or (news-cadr (memq (news-cdar news-point-pdl) news-list-of-files)) | ||
| 529 | 0)) | ||
| 530 | (setcdr (car news-point-pdl) arg)) | ||
| 531 | (setq news-current-message-number arg) | ||
| 527 | (if (file-exists-p file) | 532 | (if (file-exists-p file) |
| 528 | (let ((buffer-read-only ())) | 533 | (let ((buffer-read-only nil)) |
| 529 | (if (= arg | 534 | (news-read-in-file file) |
| 530 | (or (news-cadr (memq (news-cdar news-point-pdl) news-list-of-files)) | 535 | (news-set-mode-line)) |
| 531 | 0)) | 536 | (news-set-mode-line) |
| 532 | (setcdr (car news-point-pdl) arg)) | ||
| 533 | (setq news-current-message-number arg) | ||
| 534 | (news-read-in-file file) | ||
| 535 | (news-set-mode-line)) | ||
| 536 | (error "Article %d nonexistent" arg)))) | 537 | (error "Article %d nonexistent" arg)))) |
| 537 | 538 | ||
| 538 | (defun news-force-update () | 539 | (defun news-force-update () |