mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(news-select-message): Do most of the work
even for nonexistent article. (Code copied from 18.59).
This commit is contained in:
parent
31cc18672a
commit
20285524e1
1 changed files with 9 additions and 8 deletions
|
|
@ -524,15 +524,16 @@ to a list (a . b)"
|
|||
(let ((file (concat news-path
|
||||
(string-subst-char ?/ ?. news-current-news-group)
|
||||
"/" arg)))
|
||||
(if (= arg
|
||||
(or (news-cadr (memq (news-cdar news-point-pdl) news-list-of-files))
|
||||
0))
|
||||
(setcdr (car news-point-pdl) arg))
|
||||
(setq news-current-message-number arg)
|
||||
(if (file-exists-p file)
|
||||
(let ((buffer-read-only ()))
|
||||
(if (= arg
|
||||
(or (news-cadr (memq (news-cdar news-point-pdl) news-list-of-files))
|
||||
0))
|
||||
(setcdr (car news-point-pdl) arg))
|
||||
(setq news-current-message-number arg)
|
||||
(news-read-in-file file)
|
||||
(news-set-mode-line))
|
||||
(let ((buffer-read-only nil))
|
||||
(news-read-in-file file)
|
||||
(news-set-mode-line))
|
||||
(news-set-mode-line)
|
||||
(error "Article %d nonexistent" arg))))
|
||||
|
||||
(defun news-force-update ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue