comparison lisp/gnus/nnsoup.el @ 19969:5f1ab3dd344d

*** empty log message ***
author Lars Magne Ingebrigtsen <larsi@gnus.org>
date Wed, 24 Sep 1997 01:50:24 +0000
parents e6935c08cf0b
children 15fc6acbae7a
comparison
equal deleted inserted replaced
19968:88dd57f50303 19969:5f1ab3dd344d
235 (max (1+ (- (cdr active) (car active))) 0) 235 (max (1+ (- (cdr active) (car active))) 0)
236 (car active) (cdr active) group))))) 236 (car active) (cdr active) group)))))
237 237
238 (deffoo nnsoup-request-type (group &optional article) 238 (deffoo nnsoup-request-type (group &optional article)
239 (nnsoup-possibly-change-group group) 239 (nnsoup-possibly-change-group group)
240 ;; Try to guess the type based on the first articl ein the group. 240 ;; Try to guess the type based on the first article in the group.
241 (when (not article) 241 (when (not article)
242 (setq article 242 (setq article
243 (cdaar (cddr (assoc group nnsoup-group-alist))))) 243 (cdaar (cddr (assoc group nnsoup-group-alist)))))
244 (if (not article) 244 (if (not article)
245 'unknown 245 'unknown
621 (nnsoup-write-active-file) 621 (nnsoup-write-active-file)
622 ;; Write the REPLIES file. 622 ;; Write the REPLIES file.
623 (nnsoup-write-replies) 623 (nnsoup-write-replies)
624 ;; Check whether there is anything here. 624 ;; Check whether there is anything here.
625 (when (null (directory-files nnsoup-replies-directory nil "\\.MSG$")) 625 (when (null (directory-files nnsoup-replies-directory nil "\\.MSG$"))
626 (error "No files to pack.")) 626 (error "No files to pack"))
627 ;; Pack all these files into a SOUP packet. 627 ;; Pack all these files into a SOUP packet.
628 (gnus-soup-pack nnsoup-replies-directory nnsoup-packer)) 628 (gnus-soup-pack nnsoup-replies-directory nnsoup-packer))
629 629
630 (defun nnsoup-write-replies () 630 (defun nnsoup-write-replies ()
631 "Write the REPLIES file." 631 "Write the REPLIES file."