(gnus-convert-face-to-png): Protect against errors.
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Fri, 17 Jan 2003 06:57:45 +0000 (06:57 +0000)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Fri, 17 Jan 2003 06:57:45 +0000 (06:57 +0000)
lisp/ChangeLog
lisp/gnus-fun.el

index 2aa7795..ef7afd8 100644 (file)
@@ -1,3 +1,7 @@
+2003-01-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-fun.el (gnus-convert-face-to-png): Protect against errors.
+
 2003-01-17  Jesper Harder  <harder@ifa.au.dk>
 
        * gnus-art.el (gnus-mime-print-part): Use mm-save-part-to-file to
index 5476e4d..a3d41c6 100644 (file)
@@ -134,7 +134,8 @@ Output to the current buffer, replace text, and don't mingle error."
 (defun gnus-convert-face-to-png (face)
   (mm-with-unibyte-buffer
     (insert face)
-    (base64-decode-region (point-min) (point-max))
+    (ignore-errors
+      (base64-decode-region (point-min) (point-max)))
     (buffer-string)))
 
 (defun gnus-convert-image-to-gray-x-face (file depth)