]> git.eshelyaron.com Git - emacs.git/commitdiff
emacs-lisp/package-x.el: Create valid tar files
authorKelly Dean <kelly@prtime.org>
Mon, 16 Feb 2015 04:19:41 +0000 (04:19 +0000)
committerArtur Malabarba <bruce.connor.am@gmail.com>
Wed, 18 Feb 2015 00:08:51 +0000 (22:08 -0200)
* emacs-lisp/package-x.el (package-upload-buffer-internal):
Create valid tar files. (Bug#19536)

lisp/ChangeLog
lisp/emacs-lisp/package-x.el

index b3da9dcaadfe616bb0f5c88abbe59128e6df7abb..d5080d92fd57dc646b30b884303fe6ab3df5f230 100644 (file)
@@ -1,3 +1,8 @@
+2015-02-16  Kelly Dean  <kelly@prtime.org>
+
+       * emacs-lisp/package-x.el (package-upload-buffer-internal):
+       Create valid tar files. (Bug#19536)
+
 2015-02-16  Kelly Dean  <kelly@prtime.org>
 
        * desktop.el (desktop-read): Conditionally re-enable desktop autosave.
index e0945d47a4573203d089a6509e455fd7a49ed3ed..6955ce8f5a65def2703ebedeadd37e8af8c05072 100644 (file)
@@ -247,7 +247,7 @@ if it exists."
                             (concat (symbol-name pkg-name) "-readme.txt")
                             package-archive-upload-base)))
 
-           (set-buffer pkg-buffer)
+           (set-buffer (if (eq file-type 'tar) tar-data-buffer pkg-buffer))
            (write-region (point-min) (point-max)
                          (expand-file-name
                           (format "%s-%s.%s" pkg-name pkg-version extension)