changeset 85830:4d9f2208bbde

(url-vars-unload-hook): Remove function and variable. Hooks are automatically removed by `unload-feature'.
author Juanma Barranquero <lekktu@gmail.com>
date Wed, 31 Oct 2007 11:46:46 +0000
parents 92e80e71cd95
children c07add3c6d78
files lisp/url/url-vars.el
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/url/url-vars.el	Wed Oct 31 10:24:20 2007 +0000
+++ b/lisp/url/url-vars.el	Wed Oct 31 11:46:46 2007 +0000
@@ -398,11 +398,6 @@
 This should be set, e.g. by mail user agents rendering HTML to avoid
 `bugs' which call home.")
 
-(defun url-vars-unload-hook ()
-  (remove-hook 'set-language-environment-hook 'url-set-mime-charset-string))
-
-(add-hook 'url-vars-unload-hook 'url-vars-unload-hook)
-
 (provide 'url-vars)
 
 ;;; arch-tag: 29205e5f-c5ce-433c-8d5d-38cbaed64b49