summaryrefslogtreecommitdiff
path: root/lisp/net/pop3.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2019-01-15 14:08:41 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2019-01-15 14:09:11 -0800
commit2a3bd6798e9670828f0402079fcc116d6d6b042d (patch)
treefaed45fcd905138435b9100758f5bcc44e60ec3a /lisp/net/pop3.el
parent9fc02ff5ea95c31a8d81eabb5634aa135fcd8786 (diff)
downloademacs-2a3bd6798e9670828f0402079fcc116d6d6b042d.tar.gz
Avoid using obsolete accept-process-output arg
* lisp/gnus/nnheader.el (nnheader-accept-process-output): * lisp/net/dns.el (dns-query): * lisp/net/imap.el (imap-wait-for-tag): * lisp/net/network-stream.el (network-stream-get-response): * lisp/net/pop3.el (pop3-accept-process-output): * lisp/obsolete/starttls.el (starttls-negotiate-gnutls) (starttls-open-stream-gnutls): * lisp/server.el (server-eval-at): * lisp/textmodes/ispell.el (ispell-accept-output): Do not depend on the obsolete milliseconds argument of accept-process-output.
Diffstat (limited to 'lisp/net/pop3.el')
-rw-r--r--lisp/net/pop3.el7
1 files changed, 1 insertions, 6 deletions
diff --git a/lisp/net/pop3.el b/lisp/net/pop3.el
index bcf56c9ab3f..3aac5b5c45c 100644
--- a/lisp/net/pop3.el
+++ b/lisp/net/pop3.el
@@ -165,12 +165,7 @@ Used for APOP authentication.")
"How long pop3 should wait between checking for the end of output.
Shorter values mean quicker response, but are more CPU intensive.")
(defun pop3-accept-process-output (process)
- (accept-process-output
- process
- (truncate pop3-read-timeout)
- (truncate (* (- pop3-read-timeout
- (truncate pop3-read-timeout))
- 1000))))))
+ (accept-process-output process pop3-read-timeout))))
(defvar pop3-uidl)
;; List of UIDLs of existing messages at present in the server: