]> git.eshelyaron.com Git - emacs.git/commit
Fix problem with occasional stalls in `url-retrieve-synchronously'
authordick r. chiang <dick.r.chiang@gmail.com>
Fri, 6 Aug 2021 11:24:53 +0000 (13:24 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 6 Aug 2021 11:28:13 +0000 (13:28 +0200)
commit93e1248c2085dfb675d7ed916ec5621e3fe6e2c6
treef03787c3ecceacd0be2803c574adac375e4c61d7
parentb17fd982a3a02e687c965d75b2354c9793c1328f
Fix problem with occasional stalls in `url-retrieve-synchronously'

* lisp/url/url.el (url-retrieve-synchronously): Use
`accept-process-output' on a null process.  That is the safer, more
conventional way of achieving non-blocking sleep-for (bug#49897).

Also rewrite for greater readability.
lisp/url/url.el