]> git.eshelyaron.com Git - emacs.git/commitdiff
(url-vars-unload-hook): Remove function and variable.
authorJuanma Barranquero <lekktu@gmail.com>
Wed, 31 Oct 2007 11:48:02 +0000 (11:48 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Wed, 31 Oct 2007 11:48:02 +0000 (11:48 +0000)
Hooks are automatically removed by `unload-feature'.

lisp/url/ChangeLog
lisp/url/url-vars.el

index 8f3979debcf83644de6eccd78f030d1adbc681ca..93552c15ea9ebaa6f9069af7fdecf62c49d6f1f8 100644 (file)
@@ -1,3 +1,8 @@
+2007-10-31  Juanma Barranquero  <lekktu@gmail.com>
+
+       * url-vars.el (url-vars-unload-hook): Remove function and variable.
+       Hooks are automatically removed by `unload-feature'.
+
 2007-10-13  Richard Stallman  <rms@gnu.org>
 
        * url-util.el (url-basepath): Function deleted.
@@ -34,8 +39,7 @@
 
 2007-09-21  Diane Murray  <disumu@x3y2z1.net>
 
-       * 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
index 7ddab8aab6431d4b15c6d6969322a130496b46cc..564be3e2eb6c407d272b1a8aa0509f09dcb52d3b 100644 (file)
@@ -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