From: Juanma Barranquero Date: Wed, 31 Oct 2007 11:48:02 +0000 (+0000) Subject: (url-vars-unload-hook): Remove function and variable. X-Git-Tag: emacs-pretest-23.0.90~9932 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3a47bb3e6a5dec7b8de72cb63d0c82a386a72ba8;p=emacs.git (url-vars-unload-hook): Remove function and variable. Hooks are automatically removed by `unload-feature'. --- diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index 8f3979debcf..93552c15ea9 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog @@ -1,3 +1,8 @@ +2007-10-31 Juanma Barranquero + + * url-vars.el (url-vars-unload-hook): Remove function and variable. + Hooks are automatically removed by `unload-feature'. + 2007-10-13 Richard Stallman * url-util.el (url-basepath): Function deleted. @@ -34,8 +39,7 @@ 2007-09-21 Diane Murray - * url-news.el (url-news-fetch-newsgroup): Fix formatting of Gnus - method. + * url-news.el (url-news-fetch-newsgroup): Fix formatting of Gnus method. * url-util.el (url-get-normalized-date): Pass full timezone information to timezone-make-date-arpa-standard, since zone name diff --git a/lisp/url/url-vars.el b/lisp/url/url-vars.el index 7ddab8aab64..564be3e2eb6 100644 --- a/lisp/url/url-vars.el +++ b/lisp/url/url-vars.el @@ -398,11 +398,6 @@ Currently supported methods: 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