summaryrefslogtreecommitdiff
path: root/lisp/url
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2020-12-14 15:16:13 +0100
committerStefan Kangas <stefan@marxist.se>2020-12-14 15:16:13 +0100
commit4c41a8acc0e3877404ab99e56420bcdd4e27bdc2 (patch)
tree2760bd31b70a6aa17ea818a483b34b44dbb423c0 /lisp/url
parentf1dae2551c9b30f1f1333416df195b0907c54f4f (diff)
downloademacs-4c41a8acc0e3877404ab99e56420bcdd4e27bdc2.tar.gz
Make XEmacs compat variable warning-level-aliases obsolete
* lisp/emacs-lisp/warnings.el (warning-level-aliases): Make obsolete. (display-warning): Warn when using one of the warning levels defined in above obsolete variable. (Bug#44849) * lisp/url/url-proxy.el (url-find-proxy-for-url): Replace obsolete warning type 'critical with :error.
Diffstat (limited to 'lisp/url')
-rw-r--r--lisp/url/url-proxy.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/url/url-proxy.el b/lisp/url/url-proxy.el
index 698a87098ba..ad04a2d94a3 100644
--- a/lisp/url/url-proxy.el
+++ b/lisp/url/url-proxy.el
@@ -59,7 +59,7 @@
((string-match "^socks +" proxy)
(concat "socks://" (substring proxy (match-end 0))))
(t
- (display-warning 'url (format "Unknown proxy directive: %s" proxy) 'critical)
+ (display-warning 'url (format "Unknown proxy directive: %s" proxy) :error)
nil))))
(autoload 'url-http "url-http")