summaryrefslogtreecommitdiff
path: root/lisp/url/url-news.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2020-11-19 17:41:18 +0100
committerStefan Kangas <stefan@marxist.se>2020-11-19 20:43:51 +0100
commit1ac6330fce34beaead60f1c5c7573950e9014780 (patch)
treec05f306d6eafa0184b376551affadea79e1dede7 /lisp/url/url-news.el
parent75555b5b6bc517911404fc769b02f583e40f6c35 (diff)
downloademacs-1ac6330fce34beaead60f1c5c7573950e9014780.tar.gz
Remove some compat code from url.el
* lisp/url/url.el (url-warn): Make into obsolete alias for display-warning. * lisp/url/url-auth.el (url-register-auth-scheme): * lisp/url/url-news.el (url-news-open-host): * lisp/url/url-proxy.el (url-find-proxy-for-url): Adjust callers.
Diffstat (limited to 'lisp/url/url-news.el')
-rw-r--r--lisp/url/url-news.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/url/url-news.el b/lisp/url/url-news.el
index 9ef17cccd77..78a6aa94839 100644
--- a/lisp/url/url-news.el
+++ b/lisp/url/url-news.el
@@ -25,7 +25,6 @@
(require 'url-util)
(require 'url-parse)
(require 'nntp)
-(autoload 'url-warn "url")
(autoload 'gnus-group-read-ephemeral-group "gnus-group")
;; Unused.
@@ -42,7 +41,7 @@
(nntp-send-command "^.*\r?\n" "AUTHINFO USER" user)
(nntp-send-command "^.*\r?\n" "AUTHINFO PASS" pass)
(if (not (nntp-server-opened host))
- (url-warn 'url (format "NNTP authentication to `%s' as `%s' failed"
+ (display-warning 'url (format "NNTP authentication to `%s' as `%s' failed"
host user))))))
(defun url-news-fetch-message-id (host message-id)