]> git.eshelyaron.com Git - emacs.git/commitdiff
mm-url.el (mm-url-package-name): Removed to ease third-party reuse.
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Tue, 12 Apr 2011 14:16:41 +0000 (14:16 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Tue, 12 Apr 2011 14:16:41 +0000 (14:16 +0000)
 (mm-url-insert-file-contents): Don't set the package names.

lisp/gnus/ChangeLog
lisp/gnus/mm-url.el

index d84c40305a37493e54911d01e39bb8bcfe70a93f..fc45e85bbe8426a6c63d33f017c9ea8b9b3f0864 100644 (file)
@@ -1,3 +1,8 @@
+2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * 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  <tzz@lifelogs.com>
 
        * gnus-registry.el (gnus-registry-action): Remove properties and
index 498d0612519737a444c92e4d13594d3312ca30f7..2ce3791ef3da66f96fd936f4cbbaab9d4ac34dcb 100644 (file)
@@ -83,13 +83,6 @@ Likely values are `wget', `w3m', `lynx' and `curl'."
 \f
 ;;; 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