]> git.eshelyaron.com Git - emacs.git/commit
Rewrite `url-domain' to avoid network traffic
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 1 May 2018 12:26:27 +0000 (14:26 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 1 May 2018 12:26:38 +0000 (14:26 +0200)
commite859acb11cacd0c661b730d43151f77281e17d7d
treeeec19287beb514c9a923febd835b46d671257d0b
parent539f5889207157ddd864f228b126197573404dd9
Rewrite `url-domain' to avoid network traffic

* lisp/url/url-util.el (url-domain): Don't talk DNS to determine
the domain, because this is slow.

* test/lisp/url/url-util-tests.el (url-domain-tests): Add tests
for `url-domain'.
lisp/url/url-util.el
test/lisp/url/url-util-tests.el