]> git.eshelyaron.com Git - emacs.git/commitdiff
gnus-art.el (gnus-mime-delete-part): Fix Lisp type of byte(s).
authorKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 27 Sep 2010 03:16:55 +0000 (03:16 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 27 Sep 2010 03:16:55 +0000 (03:16 +0000)
lisp/gnus/ChangeLog
lisp/gnus/gnus-art.el

index fdd8f8ec635ade1db41a1df3d14e2a50fdff5956..7efaa814e50427820bb7bfcd79e432f90b5a0e13 100644 (file)
@@ -1,3 +1,7 @@
+2010-09-27  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-art.el (gnus-mime-delete-part): Fix Lisp type of byte(s).
+
 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * nndoc.el (nndoc-request-list): Return success always.
index 5662bfa5e8b96c59e656c3a0a1f43296c8aed076..221af8c06cd9593d7e993f3b161f294421f8bfbf 100644 (file)
@@ -5072,7 +5072,7 @@ Deleting parts may malfunction or destroy the article; continue? "))
       (unless data
        (error "No MIME part under point"))
       (with-current-buffer (mm-handle-buffer data)
-       (let ((bsize (format "%s" (buffer-size))))
+       (let ((bsize (buffer-size)))
          (erase-buffer)
          (insert
           (concat
@@ -5081,8 +5081,8 @@ Deleting parts may malfunction or destroy the article; continue? "))
            "|\n"
            "| Type:           " type "\n"
            "| Filename:       " filename "\n"
-           "| Size (encoded): " bsize (format " byte%s\n"
-                                              (if (= bsize 1)
+           "| Size (encoded): " (format "%s byte%s\n"
+                                        bsize (if (= bsize 1)
                                                   ""
                                                 "s"))
            (when description