summaryrefslogtreecommitdiff
path: root/lisp/url/url-vars.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/url/url-vars.el')
-rw-r--r--lisp/url/url-vars.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/url/url-vars.el b/lisp/url/url-vars.el
index 28f876554bb..134404c9984 100644
--- a/lisp/url/url-vars.el
+++ b/lisp/url/url-vars.el
@@ -272,9 +272,8 @@ The MIME charset corresponding to the most preferred coding system is
given priority 1 and the rest are given priority 0.5.")
(defun url-set-mime-charset-string ()
+ (declare (obsolete nil "27.1"))
(setq url-mime-charset-string (url-mime-charset-string)))
-;; Regenerate if the language environment changes.
-(add-hook 'set-language-environment-hook 'url-set-mime-charset-string)
;; Fixme: set from the locale.
(defcustom url-mime-language-string nil