diff --git a/lisp/net/eww.el b/lisp/net/eww.el index ed19bea025e..e0964932d7d 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el @@ -280,7 +280,7 @@ word(s) will be searched for via `eww-search-prefix'." ;; IDNA characters. If not, transform to punycode to indicate that ;; there may be funny business going on. (let ((parsed (url-generic-parse-url url))) - (unless (puny-highly-restrictive-p (url-host parsed)) + (unless (puny-highly-restrictive-domain-p (url-host parsed)) (setf (url-host parsed) (puny-encode-domain (url-host parsed))) (setq url (url-recreate-url parsed)))) (plist-put eww-data :url url)