[gnus git] branch master updated: n0-15-56-gd2c69c9 =1= (mm-url-package-name): Removed to ease third-party reuse.

Lars Magne Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  d2c69c9ecc6b40ecfa98a53b9165bef1ad513400 (commit)
      from  672f5b7e94dafa543a9424059b16b1a7f310dccf (commit)


- Log -----------------------------------------------------------------
commit d2c69c9ecc6b40ecfa98a53b9165bef1ad513400
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Tue Apr 12 14:37:31 2011 +0200

    (mm-url-package-name): Removed to ease third-party reuse.
    
    (mm-url-insert-file-contents): Don't set the package names.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 153570c..88dec74 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2011-04-12  Lars Magne Ingebrigtsen  <[email protected]>
+
+	* mm-url.el (mm-url-package-name): Removed to ease third-party reuse.
+	(mm-url-insert-file-contents): Don't set the package names.
+
 2011-04-11  Teodor Zlatanov  <[email protected]>
 
 	* gnus-registry.el (gnus-registry-action): Remove properties and
diff --git a/lisp/mm-url.el b/lisp/mm-url.el
index 498d061..2ce3791 100644
--- a/lisp/mm-url.el
+++ b/lisp/mm-url.el
@@ -83,13 +83,6 @@ Likely values are `wget', `w3m', `lynx' and `curl'."
 
 ;;; Internal variables
 
-(defvar mm-url-package-name
-  (gnus-replace-in-string
-   (gnus-replace-in-string gnus-version " v.*$" "")
-   " " "-"))
-
-(defvar	mm-url-package-version gnus-version-number)
-
 ;; Stolen from w3.
 (defvar mm-url-html-entities
   '(
@@ -298,10 +291,6 @@ If `mm-url-use-external' is non-nil, use `mm-url-program'."
 	   (if (not (and (boundp 'url-version)
 			 (equal url-version "Emacs")))
 	       (list (cons "Connection" "Close"))))
-	  (url-package-name (or mm-url-package-name
-				url-package-name))
-	  (url-package-version (or mm-url-package-version
-				   url-package-version))
 	  result)
       (setq result (url-insert-file-contents url))
       (save-excursion

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog |    5 +++++
 lisp/mm-url.el |   11 -----------
 2 files changed, 5 insertions(+), 11 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.