* gnus-group.el (gnus-group-expire-articles): Doc fix.
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Sun, 5 Jan 2003 04:37:52 +0000 (04:37 +0000)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Sun, 5 Jan 2003 04:37:52 +0000 (04:37 +0000)
* nntp.el (nntp-accept-process-output): Use a 0.1 second timeout.

lisp/ChangeLog
lisp/gnus-group.el
lisp/nntp.el

index a07d1b9..11fbe7a 100644 (file)
@@ -1,5 +1,9 @@
 2003-01-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * gnus-group.el (gnus-group-expire-articles): Doc fix.
+
+       * nntp.el (nntp-accept-process-output): Use a 0.1 second timeout. 
+
        * gnus.el (gnus-version-number): Bump version number.
 
 2003-01-05 01:53:30 Lars Magne Ingebrigtsen <lars@ingebrigtsen.no>
index e6fda64..04dc13f 100644 (file)
@@ -3031,7 +3031,8 @@ or nil if no action could be taken."
       num)))
 
 (defun gnus-group-expire-articles (&optional n)
-  "Expire all expirable articles in the current newsgroup."
+  "Expire all expirable articles in the current newsgroup.
+Uses the process/prefix convention."
   (interactive "P")
   (let ((groups (gnus-group-process-prefix n))
        group)
index 5e8d1cb..6b5543b 100644 (file)
@@ -1243,7 +1243,9 @@ password contained in '~/.nntp-authinfo'."
       (unless (< len 10)
        (setq nntp-have-messaged t)
        (nnheader-message 7 "nntp read: %dk" len)))
-    (accept-process-output process (or timeout 1))
+    (if timeout
+       (accept-process-output process timeout)
+      (accept-process-output process 0 100))
     ;; accept-process-output may update status of process to indicate
     ;; that the server has closed the connection.  This MUST be
     ;; handled here as the buffer restored by the save-excursion may